webengine/osswebengine/WebKit/s60/webview/WebCursor.h
branchRCL_3
changeset 47 e1bea15f9a39
parent 15 60c5402cb945
child 48 79859ed3eea9
equal deleted inserted replaced
46:30342f40acbf 47:e1bea15f9a39
    49 
    49 
    50         const TPoint& position() const { return m_pos; }
    50         const TPoint& position() const { return m_pos; }
    51         const TRect& nodeRect() const { return m_nodeRect; }
    51         const TRect& nodeRect() const { return m_nodeRect; }
    52         void setPosition(const TPoint& pt) { m_pos = pt;}
    52         void setPosition(const TPoint& pt) { m_pos = pt;}
    53         void updatePositionAndElemType(const TPoint& pt);
    53         void updatePositionAndElemType(const TPoint& pt);
    54         void setCurrentView(WebView& view);
    54         void setCurrentView(WebView* view);
    55         void offsetCursor(const TPoint& offset);
    55         void offsetCursor(const TPoint& offset);
    56         bool isVisible() const { return m_visible; }
    56         bool isVisible() const { return m_visible; }
    57         void setCursorVisible(bool visible) { m_visible = visible; }
    57         void setCursorVisible(bool visible) { m_visible = visible; }
    58         void setCursor(CursorTypes);
    58         void setCursor(CursorTypes);
    59         void cursorUpdate(bool visible);
    59         void cursorUpdate(bool visible);
    71         WebFrame* getFrameUnderCursor();
    71         WebFrame* getFrameUnderCursor();
    72         bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect);
    72         bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect);
    73         WebFrame* getFrameAtPoint(const TPoint& viewPos_);
    73         WebFrame* getFrameAtPoint(const TPoint& viewPos_);
    74         WebCore::Element*  getElementUnderCursor() {return m_elementUnderCursor;}
    74         WebCore::Element*  getElementUnderCursor() {return m_elementUnderCursor;}
    75         void stopTransparencyTimer();
    75         void stopTransparencyTimer();
    76         
    76         WebView* getCursorWebView(){ return m_view;}
       
    77                 
    77        
    78        
    78   private:
    79   private:
    79         void moveCursor(int lr,int tb, int scrollRange);
    80         void moveCursor(int lr,int tb, int scrollRange);
    80         bool determineCursorPosition(WebFrame& webFrame, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect, TRect& aSearchRect, 
    81         bool determineCursorPosition(WebFrame& webFrame, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect, TRect& aSearchRect, 
    81             TPoint& aCursorPosition, bool aInitialize);
    82             TPoint& aCursorPosition, bool aInitialize);