Fixed when user tap on linkable contents, somtimes focus ring is not shown.
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / tizen / FocusRing.h
index 03a1770..f15a6c2 100755 (executable)
@@ -41,6 +41,7 @@ public:
     void setImage(const String&, int, int);
 
     void requestToShow(const WebCore::IntPoint&);
+    void requestToHide(bool immediately = false);
 
     void show(const WebCore::IntRect&, const bool includeOnlyImage = false);
     void hide(bool = true);
@@ -54,6 +55,9 @@ private:
     static const int s_showTimerTime = 100;
     static Eina_Bool showTimerCallback(void* data);
 
+    static const int s_hideTimerTime = 200;
+    static Eina_Bool hideTimerCallback(void* data);
+
 private:
     FocusRing(EwkViewImpl* viewImpl);
     void internalShow(bool, const WebCore::IntRect&);
@@ -67,6 +71,7 @@ private:
     int m_imageInnerWidth;
 
     Ecore_Timer* m_showTimer;
+    Ecore_Timer* m_hideTimer;
     WebCore::IntPoint m_position;
 
     WebCore::IntRect m_rect;