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

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

Issue 2380743003: Refactor ContentViewClient (2/6) (Closed)
Patch Set: tests Created 4 years, 3 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/AwContentViewClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java
index 0192b2b0ccf9decc4284be2fd2977fe5ae3fa8cc..614e2d5a6004c820db801cd19eba265fe1e164d8 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java
@@ -5,7 +5,6 @@
package org.chromium.android_webview;
import android.content.Context;
-import android.content.Intent;
import android.view.KeyEvent;
import org.chromium.content.browser.ContentViewClient;
@@ -33,13 +32,6 @@ public class AwContentViewClient extends ContentViewClient {
}
@Override
- public void onStartContentIntent(Context context, String contentUrl, boolean isMainFrame) {
- // Comes from WebViewImpl::detectContentOnTouch in Blink, so must be user-initiated, and
- // isn't a redirect.
- mAwContentsClient.shouldIgnoreNavigation(context, contentUrl, isMainFrame, true, false);
- }
-
- @Override
public void onUpdateTitle(String title) {
mAwContentsClient.updateTitle(title, true);
}
@@ -55,19 +47,4 @@ public class AwContentViewClient extends ContentViewClient {
return super.shouldOverrideKeyEvent(event);
}
-
- @Override
- public boolean doesPerformProcessText() {
- return true;
- }
-
- @Override
- public void startProcessTextIntent(Intent intent) {
- mAwContents.startProcessTextIntent(intent);
- }
-
- @Override
- public boolean isSelectActionModeAllowed(int actionModeItem) {
- return mAwContents.isSelectActionModeAllowed(actionModeItem);
- }
}

Powered by Google App Engine
This is Rietveld 408576698