equal
deleted
inserted
replaced
73 void ref() { ++m_refCount; } |
73 void ref() { ++m_refCount; } |
74 void deref() { if( --m_refCount == 0 ) delete this; } |
74 void deref() { if( --m_refCount == 0 ) delete this; } |
75 |
75 |
76 // accessors |
76 // accessors |
77 WebFrame* frame() const { return m_frame.get(); } |
77 WebFrame* frame() const { return m_frame.get(); } |
78 WebView* topView() const { return m_topView.get(); } |
78 WebView* topView() const { return m_topView; } |
79 void setWebFrame(WebFrame*); |
79 void setWebFrame(WebFrame*); |
80 void setTopView(WebView*); |
80 void setTopView(WebView*); |
81 TPoint contentPos() { return m_contentPos; } |
81 TPoint contentPos() { return m_contentPos; } |
82 WebFrameView* initWithFrame(TRect frame); |
82 WebFrameView* initWithFrame(TRect frame); |
83 void setAllowsScrolling(bool allowsScrolling); |
83 void setAllowsScrolling(bool allowsScrolling); |
105 private: |
105 private: |
106 WebFrameView(const WebFrameView&); // not implemented |
106 WebFrameView(const WebFrameView&); // not implemented |
107 WebFrameView& operator=(const WebFrameView&); // not implemented |
107 WebFrameView& operator=(const WebFrameView&); // not implemented |
108 |
108 |
109 RefPtr<WebFrame> m_frame; // the frame associated with this view |
109 RefPtr<WebFrame> m_frame; // the frame associated with this view |
110 RefPtr<WebView> m_topView; // the top drawable view |
110 WebView* m_topView; // the top drawable view |
111 WebFrameView* m_parent; // the parent view |
111 WebFrameView* m_parent; // the parent view |
112 |
112 |
113 TRect m_frameRect; // the location and size of this frame in its parent frame |
113 TRect m_frameRect; // the location and size of this frame in its parent frame |
114 TPoint m_contentPos; |
114 TPoint m_contentPos; |
115 TSize m_contentSize; |
115 TSize m_contentSize; |