| Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java
|
| index e5b3210cb2df4f567aec14e9039fc68db3ec2209..391a842e85e73a6d91b3834f4842751d95cae127 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java
|
| @@ -5,7 +5,7 @@
|
| package org.chromium.chrome.browser.contextmenu;
|
|
|
| import org.chromium.chrome.browser.Tab;
|
| -import org.chromium.content.browser.ContentView;
|
| +import org.chromium.content_public.Referrer;
|
|
|
| /**
|
| * A delegate responsible for taking actions based on context menu selections.
|
| @@ -39,7 +39,7 @@ public interface ChromeContextMenuItemDelegate {
|
| * the current {@link Tab}.
|
| * @param url The URL to open.
|
| */
|
| - void onOpenInNewTab(String url);
|
| + void onOpenInNewTab(String url, Referrer referrer);
|
|
|
| /**
|
| * Called when the {@code url} should be opened in a new incognito tab.
|
| @@ -51,13 +51,13 @@ public interface ChromeContextMenuItemDelegate {
|
| * Called when the {@code url} is of an image and should be opened in the same tab.
|
| * @param url The image URL to open.
|
| */
|
| - void onOpenImageUrl(String url);
|
| + 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);
|
| + void onOpenImageInNewTab(String url, Referrer referrer);
|
|
|
| /**
|
| * Called when the {@code text} should be saved to the clipboard.
|
|
|