Hide focus ring immediately in gesture end operation
authorJongseok Yang <js45.yang@samsung.com>
Mon, 22 Jul 2013 10:16:35 +0000 (19:16 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Wed, 24 Jul 2013 08:32:33 +0000 (08:32 +0000)
[Title] Hide focus ring immediately in gesture end operation
[Issue#] N/A
[Problem] The afterimage of focus ring is displayed when double tap zoom is operated
[Cause] At that time, hide the focus ring using timer operation
[Solution] Hide focus ring immediately in gesture end operation

Change-Id: I34e17cd8af7d6328f827b44c17e28d7bfd559dc1

Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

index 7684077..781e0b0 100755 (executable)
@@ -548,8 +548,13 @@ static Eina_Bool _ewk_view_smart_gesture_end(Ewk_View_Smart_Data* smartData, con
 #endif
 
             impl->gestureClient->endTap(IntPoint(event->position.x, event->position.y));
-        } else if (event->count == 2)
+        } else if (event->count == 2) {
+#if ENABLE(TIZEN_WEBKIT2_FOCUS_RING)
+            if (impl->focusRing)
+                impl->focusRing->requestToHide(true);
+#endif
             impl->gestureClient->endDoubleTap(IntPoint(event->position.x, event->position.y));
+        }
         break;
     case EWK_GESTURE_LONG_PRESS:
         // Prcess endTap for LONG_PRESS gesture if text-selection and context menu did not work