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

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

Issue 1404793006: Remove certain context menu items for images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt's nits Created 5 years, 2 months 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
Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java
index c26d5b0478724515455ba9c23edf526e5adc7bdc..d5819b1986bd8d2d9bb3add232ee0fc280e13499 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuItemDelegate.java
@@ -29,12 +29,6 @@ public interface ContextMenuItemDelegate {
boolean isIncognitoSupported();
/**
- * @return Whether or not the context menu should give the user the chance to show the original
- * image.
- */
- boolean canLoadOriginalImage();
-
- /**
* Returns whether or not the Data Reduction Proxy is enabled for input url.
* @param url Input url to check for the Data Reduction Proxy setting.
* @return true if the Data Reduction Proxy is enabled for the url.
@@ -69,12 +63,6 @@ public interface ContextMenuItemDelegate {
void onOpenImageUrl(String url, Referrer referrer);
/**
- * Called when the {@code url} is of an image and should be opened in a new tab.
- * @param url The image URL to open.
- */
- void onOpenImageInNewTab(String url, Referrer referrer);
-
- /**
* Called when the page should be reloaded ignoring the cache.
*/
void onReloadIgnoringCache();
@@ -91,13 +79,6 @@ public interface ContextMenuItemDelegate {
*/
void onSaveToClipboard(String text, int clipboardType);
- /**
- * Called when the {@code url} is of an image and a link to the image should be saved to the
- * clipboard.
- * @param url The image URL.
- */
- void onSaveImageToClipboard(String url);
-
/**
* @return page url.
*/

Powered by Google App Engine
This is Rietveld 408576698