webengine/osswebengine/WebKit/s60/webview/WebCursor.h
changeset 15 60c5402cb945
parent 11 c8a366e56285
child 47 e1bea15f9a39
--- a/webengine/osswebengine/WebKit/s60/webview/WebCursor.h	Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/WebCursor.h	Mon Oct 26 08:28:45 2009 +0200
@@ -27,6 +27,7 @@
 namespace WebCore {
     class IntRect;
     class IntPoint;
+    class Element;
 }
 #define KInitialOffset 5
 
@@ -68,10 +69,12 @@
         void scrollAndMoveCursor(int dir, int scrollRange, bool auto);
         void simpleScroll(int dir, int scrollRange, bool auto=true);
         WebFrame* getFrameUnderCursor();
-        bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect) const;
+        bool navigableNodeUnderCursor(WebFrame& webFrame, TPoint& aPoint, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect);
         WebFrame* getFrameAtPoint(const TPoint& viewPos_);
+        WebCore::Element*  getElementUnderCursor() {return m_elementUnderCursor;}
+        void stopTransparencyTimer();
         
-
+       
   private:
         void moveCursor(int lr,int tb, int scrollRange);
         bool determineCursorPosition(WebFrame& webFrame, TBrCtlDefs::TBrCtlElementType& aElType, TRect& aFocusRect, TRect& aSearchRect, 
@@ -118,6 +121,7 @@
         CursorTypes                     m_type;
         int                             m_flipCounter;
         TPoint                          m_incrLimit;
+        WebCore::Element*               m_elementUnderCursor;
     };
 
 #endif