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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java

Issue 1155713005: Use a resource throttle to implement shouldOverrideUrlLoading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix qinmin nit Created 5 years, 5 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: android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
index 712c8013c32b0c286c6c9e5841f822cb9a4d38ca..f86e54bff8271a6be98033027a213ad5fe0c8743 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
@@ -259,16 +259,6 @@ public class AwContentsClientBridge {
mClient.handleJsBeforeUnload(url, message, handler);
}
- @CalledByNative
- private boolean shouldOverrideUrlLoading(String url, boolean hasUserGesture,
- boolean isRedirect) {
- if (mClient.hasWebViewClient()) {
- return mClient.shouldOverrideUrlLoading(url);
- } else {
- return AwContentsClient.sendBrowsingIntent(mContext, url, hasUserGesture, isRedirect);
- }
- }
-
void confirmJsResult(int id, String prompt) {
if (mNativeContentsClientBridge == 0) return;
nativeConfirmJsResult(mNativeContentsClientBridge, id, prompt);

Powered by Google App Engine
This is Rietveld 408576698