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 550d54d97ecd37c5a0a08fb20130bce017ea4f87..186fec98f008dd61b421fe2afc0b1f505d25aa6e 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 |
@@ -58,14 +58,14 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator { |
menu.findItem(R.id.contextmenu_copy_link_text).setVisible(false); |
} |
- menu.findItem(R.id.contextmenu_save_link_as).setEnabled( |
+ menu.findItem(R.id.contextmenu_save_link_as).setVisible( |
UrlUtilities.isDownloadableScheme(params.getLinkUrl())); |
if (params.isVideo()) { |
- menu.findItem(R.id.contextmenu_save_video).setEnabled( |
+ menu.findItem(R.id.contextmenu_save_video).setVisible( |
UrlUtilities.isDownloadableScheme(params.getSrcUrl())); |
} else if (params.isImage()) { |
- menu.findItem(R.id.contextmenu_save_image).setEnabled( |
+ menu.findItem(R.id.contextmenu_save_image).setVisible( |
UrlUtilities.isDownloadableScheme(params.getSrcUrl())); |
if (mDelegate.canLoadOriginalImage()) { |