Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1155)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java

Issue 1434533002: Add a few items to ContextMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
index bf4d33f584641267936573f9844891c4eace17d3..0c714d325474da20b3482507f3a94391e9e5fd86 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
@@ -33,6 +33,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
R.id.contextmenu_copy_link_address,
R.id.contextmenu_copy_email_address,
R.id.contextmenu_copy_link_text,
+ R.id.contextmenu_save_link_as,
R.id.contextmenu_save_image,
R.id.contextmenu_share_image,
R.id.contextmenu_save_video,
@@ -51,8 +52,8 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
// Additional items for custom tabs mode.
private static final int[] CUSTOM_TAB_MODE_WHITELIST = {
- R.id.contextmenu_save_link_as,
- R.id.contextmenu_open_image
+ R.id.contextmenu_open_image,
+ R.id.contextmenu_search_by_image
};
// Additional items for fullscreen tabs mode.
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698