From c2114f5efdf045e8d077c78d23c0b9f6714bbcb6 Mon Sep 17 00:00:00 2001 From: Jongseok Yang Date: Mon, 22 Jul 2013 19:16:35 +0900 Subject: [PATCH] Hide focus ring immediately in gesture end operation [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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp index 7684077..781e0b0 100755 --- a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp +++ b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp @@ -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 -- 2.7.4