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

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

Issue 2790893004: Delete Android content detectors. (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
index cd1d0dc77d063bfa013e3f9e1c4aea786aaf6302..ccf38aba63a24667ca21d16a9fc90e5f902ab956 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
@@ -4,7 +4,6 @@
package org.chromium.android_webview;
-import android.content.Intent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
@@ -149,19 +148,6 @@ public class AwViewAndroidDelegate extends ViewAndroidDelegate {
}
@Override
- public void startContentIntent(Intent intent, String contentUrl, boolean isMainFrame) {
- // Make sure that this URL is a valid scheme for this callback if interpreted as an intent,
- // even though we don't dispatch it as an intent here, because many WebView apps will once
- // it reaches them.
- assert intent != null;
-
- // Comes from WebViewImpl::detectContentOnTouch in Blink, so must be user-initiated, and
- // isn't a redirect.
- mContentsClient.shouldIgnoreNavigation(
- mContainerView.getContext(), contentUrl, isMainFrame, true, false);
- }
-
- @Override
public ViewGroup getContainerView() {
return mContainerView;
}
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698