Index: chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java |
diff --git a/chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java b/chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java |
index 91a28f31fac02a3664bc18cbd1387e4fc5b9de8d..617ca83b16a5fd68592f4c8f2d7239ac3ec97986 100644 |
--- a/chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java |
+++ b/chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java |
@@ -4,18 +4,9 @@ |
package org.chromium.chrome.browser.component.navigation_interception; |
-import org.chromium.base.CalledByNative; |
+// TODO(jknotten): Remove this file once external dependencies are using |
+// org.chromium.content.components.navigation_interception.InterceptNavigationDelegate |
-public interface InterceptNavigationDelegate { |
- /** |
- * This method is called for every top-level navigation within the associated WebContents. |
- * The method allows the embedder to ignore navigations. This is used on Android to 'convert' |
- * certain navigations to Intents to 3rd party applications. |
- * |
- * @param url the target url of the navigation. |
- * @param isUserGestrue true if the navigation was initiated by the user. |
- * @return true if the navigation should be ignored. |
- */ |
- @CalledByNative |
- boolean shouldIgnoreNavigation(String url, boolean isUserGestrue); |
-} |
+public interface InterceptNavigationDelegate extends |
+ org.chromium.content.components.navigation_interception.InterceptNavigationDelegate { |
+} |