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

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

Issue 1741153002: Switch back to open image in new tab where applicable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 years, 9 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 5f08746393f9b4a7bdac435da937d5d6fcbc5b03..6dc2a46522c2e41196b07b4ae759b3e387ec5210 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
@@ -63,6 +63,12 @@ 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);
+
+ /**
* Reloads all the Lo-Fi images in a Tab.
*/
void onReloadLoFiImages();

Powered by Google App Engine
This is Rietveld 408576698