| 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 d2f26ef6881a424610aeffd9525d8cbbad8c5171..80753a42d759693bfee599c44e4f3551e5c60f2b 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;
|
| @@ -22,9 +21,6 @@
|
| * Implementation of the abstract class {@link ViewAndroidDelegate} for WebView.
|
| */
|
| public class AwViewAndroidDelegate extends ViewAndroidDelegate {
|
| - /** Used for logging. */
|
| - private static final String TAG = "AwVAD";
|
| -
|
| /**
|
| * The current container view. This view can be updated with
|
| * {@link #updateCurrentContainerView()}.
|
| @@ -37,7 +33,6 @@
|
| */
|
| private final Map<View, Position> mAnchorViews = new LinkedHashMap<>();
|
|
|
| - private final AwContentsClient mContentsClient;
|
| private final RenderCoordinates mRenderCoordinates;
|
|
|
| /**
|
| @@ -64,10 +59,8 @@
|
| }
|
|
|
| @VisibleForTesting
|
| - public AwViewAndroidDelegate(ViewGroup containerView, AwContentsClient contentsClient,
|
| - RenderCoordinates renderCoordinates) {
|
| + public AwViewAndroidDelegate(ViewGroup containerView, RenderCoordinates renderCoordinates) {
|
| mContainerView = containerView;
|
| - mContentsClient = contentsClient;
|
| mRenderCoordinates = renderCoordinates;
|
| }
|
|
|
| @@ -144,24 +137,6 @@
|
| }
|
|
|
| @Override
|
| - public void onBackgroundColorChanged(int color) {
|
| - mContentsClient.onBackgroundColorChanged(color);
|
| - }
|
| -
|
| - @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;
|
| }
|
|
|