Can able to scroll and move handle directly while context menu is showing
authorTaeyun An <ty.an@samsung.com>
Wed, 22 May 2013 12:48:11 +0000 (21:48 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 12 Jun 2013 13:36:48 +0000 (22:36 +0900)
[Title] Can able to scroll and move handle directly while context menu is showing
[Issue#] P130516-3961
[Problem] Can't scroll and move handle directly while context menu is showing
[Cause] UI concept was changed
[Solution] Can able to scroll and move handle directly while context menu is showing

Change-Id: I5e9a1e159e8dfc55b9b086f46ab31ae119a36724

Conflicts:

Source/WebKit2/UIProcess/tizen/WebContextMenuProxyTizen.cpp

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

index 7195747..f6ab7eb 100644 (file)
@@ -4292,7 +4292,11 @@ Eina_Bool ewk_view_feed_touch_event(Evas_Object* ewkView, Ewk_Touch_Event_Type t
 #if ENABLE(TIZEN_GESTURE)
 #if ENABLE(TIZEN_CONTEXT_MENU_WEBKIT_2)
     // We don't want to process touch event when context menu is shown.
-    if (impl->pageClient->isContextMenuVisible() && type != EWK_TOUCH_CANCEL)
+    if ((impl->pageClient->isContextMenuVisible() && type != EWK_TOUCH_CANCEL)
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+        && !impl->pageClient->isTextSelectionMode()
+#endif
+        )
         return true;
 #endif
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
index d8b34bd..4168fdb 100755 (executable)
@@ -187,7 +187,9 @@ void WebContextMenuProxyTizen::showContextMenu(const WebCore::IntPoint& position
 #endif
 
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+
         if ( m_pageClientImpl->isTextSelectionMode()) {
+            elm_object_style_set(m_popup,"copypaste");
             elm_ctxpopup_horizontal_set(m_popup, EINA_TRUE);
             elm_ctxpopup_direction_priority_set(m_popup, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP);
         }