From: Jongseok Yang Date: Mon, 22 Jul 2013 10:16:35 +0000 (+0900) Subject: Hide focus ring immediately in gesture end operation X-Git-Tag: 2.2_release~32 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fweb%2Fwebkit-efl.git;a=commitdiff_plain;h=c2114f5efdf045e8d077c78d23c0b9f6714bbcb6 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 --- 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