Changed the handle type from "bottom" to "top" when the handle go to the bottom of...
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / tizen / TextSelectionHandle.h
index 51d6614..8499a89 100755 (executable)
@@ -44,7 +44,7 @@ public:
     TextSelectionHandle(Evas_Object* object, const char* path, const char* part, bool isLeft, TextSelection* textSelection);
     ~TextSelectionHandle();
 
-    void move(const WebCore::IntPoint& point);
+    void move(const WebCore::IntPoint& point, const WebCore::IntRect& selectionRect);
     void show();
     void hide();
     bool isLeft() const { return m_isLeft; }
@@ -56,6 +56,7 @@ public:
 #if ENABLE(TIZEN_WEBKIT2_FOR_MOVING_TEXT_SELECTION_HANDLE_FROM_OSP)
     const WebCore::IntRect getHandleRect();
 #endif
+    bool isTop() const { return m_isTop; }
 
     void mouseDown(const WebCore::IntPoint& point);
     void mouseMove(const WebCore::IntPoint& point);
@@ -73,6 +74,7 @@ private:
 
 private:
     Evas_Object* m_icon;
+    Evas_Object* m_widget;
     WebCore::IntPoint m_mousePosition;
     static Ecore_Job* s_job;
     bool m_isLeft;
@@ -81,6 +83,7 @@ private:
     WebCore::IntPoint m_firstDownMousePosition;
     WebCore::IntPoint m_basePositionForMove;
     bool m_isMouseDowned;
+    bool m_isTop;
 };
 
 } // namespace WebKit