summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghwan <junghwan.kang@samsung.com>2012-09-10 11:16:25 +0900
committerJunghwan <junghwan.kang@samsung.com>2012-09-10 11:16:25 +0900
commit5a4af3d8ce7b47259d8dcf7e8a3147364b8323d0 (patch)
tree18df6543e54aac7b5caf460287c0752b9139cc79
parentb417bfcab8ddc019179bb2139a82b1168e71ec10 (diff)
downloadbrowser-5a4af3d8ce7b47259d8dcf7e8a3147364b8323d0.tar.gz
browser-5a4af3d8ce7b47259d8dcf7e8a3147364b8323d0.tar.bz2
browser-5a4af3d8ce7b47259d8dcf7e8a3147364b8323d0.zip
Remove selection mode in image selected context menu
[Title] Remove selection mode in image selected context menu [Issue#] N_SE-9572 [Problem] selection is not work [Cause] Those context menu is not supported from platform and webkit [Solution] Remove the functions [Team] Browser UI [Developer] junghwan kang (junghwan.kang) [Request] N/A Change-Id: I6fb32c3ea40bc41c0e4201193c2261ec5419d0a6
-rwxr-xr-xsrc/browser-view/browser-context-menu.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/browser-view/browser-context-menu.cpp b/src/browser-view/browser-context-menu.cpp
index b738dd50..50745f0e 100755
--- a/src/browser-view/browser-context-menu.cpp
+++ b/src/browser-view/browser-context-menu.cpp
@@ -440,7 +440,6 @@ Eina_Bool Browser_Context_Menu::_append_image_only_mode_context_menu(Ewk_Context
break;
case EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_IMAGE_TO_DISK:
ewk_context_menu_item_append_as_action(menu, tag, BR_STRING_CTXMENU_SAVE_IMAGE, true);
- ewk_context_menu_item_append_as_action(menu, CUSTOM_CONTEXT_MENU_ITEM_SELECTION_MODE_FROM_IMAGE_TAG, BR_STRING_CTXMENU_SELECTION_MODE, true);
break;
default:
break;
@@ -533,7 +532,6 @@ Eina_Bool Browser_Context_Menu::_append_image_with_hyperlink_mode_context_menu(E
break;
case EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_IMAGE_TO_DISK:
ewk_context_menu_item_append_as_action(menu, tag, BR_STRING_CTXMENU_SAVE_IMAGE, true);
- ewk_context_menu_item_append_as_action(menu, CUSTOM_CONTEXT_MENU_ITEM_SELECTION_MODE_FROM_IMAGE_TAG, BR_STRING_CTXMENU_SELECTION_MODE, true);
break;
default:
break;
@@ -614,12 +612,8 @@ Eina_Bool Browser_Context_Menu::_append_normal_mode_context_menu(Ewk_Context_Men
break;
default:
break;
+ }
}
-}
-
- /* if the tag is hyperlink text, show text selection mode menu */
- if ((show_hyperlink_item_flag == true) && (show_imagemode_flag == false))
- ewk_context_menu_item_append_as_action(menu, CUSTOM_CONTEXT_MENU_ITEM_SELECTION_MODE_FROM_TEXT_TAG, BR_STRING_CTXMENU_SELECTION_MODE, true);
return EINA_TRUE;
}