Make context menu available on desktop builds.
authorAntonio Gomes <a1.gomes@samsung.com>
Thu, 6 Aug 2015 22:05:49 +0000 (18:05 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
By setting the "copypaste" which is Tizen specific,
context menu fails to show.
Patch makes this workaround (as per the comment describing
it) OS Tizen specific.

Reviewed by: SeungSeop Park

Change-Id: Ie3342b1e50ca3e1d0f41bc6a4796a0e11b709428
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/ewk/efl_integration/context_menu_controller_efl.cc

index 1ec127d..3e95bbb 100644 (file)
@@ -233,11 +233,13 @@ bool ContextMenuControllerEfl::CreateContextMenu() {
       if (appended_item)
         _appended_item_size++;
     }
+#if defined(OS_TIZEN)
     // Workaround
     // Need to set "copypaste" style, to let moving handles
     // when ctxpopup is visible
     // http://107.108.218.239/bugzilla/show_bug.cgi?id=11613
     elm_object_style_set(popup_, "copypaste");
+#endif
   } else {
     GURL url = web_contents_.GetVisibleURL();
     std::string selected_link (url.host().c_str());