| 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 1e62241339daaf94e6dabd060bed418cd1a39ac5..8832c6f6051b88b12f1f45d87581074782887db5 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
|
| @@ -153,4 +153,22 @@ public interface ContextMenuItemDelegate {
|
| * @param pageUrl URL of the current page.
|
| */
|
| void onOpenInChrome(String linkUrl, String pageUrl);
|
| +
|
| + /**
|
| + * Called when the {@code url} should be opened in a new Chrome tab from CCT.
|
| + * @param url The URL to open.
|
| + * @param isIncognito true if the {@code url} should be opened in a new incognito tab.
|
| + */
|
| + void onOpenInNewChromeTabFromCCT(String linkUrl, boolean isIncognito);
|
| +
|
| + /**
|
| + * @return title of the context menu to open a page in external apps.
|
| + */
|
| + String getTitleForOpenTabInExternalApp();
|
| +
|
| + /**
|
| + * Called when the current Chrome app is not the default to handle a View Intent.
|
| + * @param url The URL to open.
|
| + */
|
| + void onOpenInDefaultBrowser(String url);
|
| }
|
|
|