webengine/osswebengine/WebKit/s60/webview/WebFrameView.h
changeset 5 10e98eab6f85
parent 0 dd21522fd290
child 15 60c5402cb945
equal deleted inserted replaced
1:7c90e6132015 5:10e98eab6f85
    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;