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

Unified Diff: chrome/browser/component/navigation_interception/java/src/org/chromium/chrome/browser/component/navigation_interception/InterceptNavigationDelegate.java

Issue 11293017: Move navigation interception component to content/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add findbugs suppression for compatibility code. Created 8 years, 1 month 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/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 {
+}

Powered by Google App Engine
This is Rietveld 408576698