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

Unified Diff: content/components/navigation_interception/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java

Issue 11830043: Move content/components/navigation_interception to src/components (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 11 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: content/components/navigation_interception/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java
diff --git a/content/components/navigation_interception/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java b/content/components/navigation_interception/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java
deleted file mode 100644
index 973ee27f687f6d3b746c0484472ee30e39893f88..0000000000000000000000000000000000000000
--- a/content/components/navigation_interception/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.content.components.navigation_interception;
-
-import org.chromium.base.CalledByNative;
-
-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 isPost true if the the navigation method is "POST".
- * @param isUserGesture true if the navigation was initiated by the user.
- * @param pageTransition is the page transition type (e.g. link / typed).
- * @return true if the navigation should be ignored.
- */
- @CalledByNative
- boolean shouldIgnoreNavigation(String url, boolean isPost, boolean isUserGesture,
- int pageTransition);
-}
« no previous file with comments | « content/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698