[Title] Fixed sometimes focus ring is hidden when context menu is shown by longTap
[Issue#] P130709-3174
[Problem] Sometimes focus ring is hidden when context menu is shown by longTap
[Cause] Focus ring is hidden when gesture move event occur.
If minute movement occur when longTap, gesture move event occur.
So, focus ring is hidden.
[Solution] When context menu is showing, focus ring should not be hidden.
So, added condition to check whether context menu is visible or invisible
when gesture move event occur.
Change-Id: I491068689b79aa9d2ef9b1b2c6f1fc555a9162a2
#endif
#if ENABLE(TIZEN_WEBKIT2_FOCUS_RING)
- if (impl->focusRing && !(event->type == EWK_GESTURE_PAN && !impl->exceedTouchMoveThreshold))
- impl->focusRing->requestToHide(true);
+ if (impl->focusRing && !(event->type == EWK_GESTURE_PAN && !impl->exceedTouchMoveThreshold)) {
+#if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
+ if (!impl->pageClient->isContextMenuVisible())
+#endif
+ impl->focusRing->requestToHide(true);
+ }
#endif
switch (event->type) {