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; }
#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);
private:
Evas_Object* m_icon;
+ Evas_Object* m_widget;
WebCore::IntPoint m_mousePosition;
static Ecore_Job* s_job;
bool m_isLeft;
WebCore::IntPoint m_firstDownMousePosition;
WebCore::IntPoint m_basePositionForMove;
bool m_isMouseDowned;
+ bool m_isTop;
};
} // namespace WebKit