| Index: android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
|
| diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
|
| index 37915afb2b54c610493430dea92d15cea298e153..42e9225d06234ab636444a0bec3218f0b07454ff 100644
|
| --- a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
|
| +++ b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
|
| @@ -6,17 +6,12 @@ package org.chromium.android_webview.test;
|
|
|
| import android.graphics.Picture;
|
| import android.net.http.SslError;
|
| -import android.view.ActionMode;
|
| -import android.view.View;
|
| import android.webkit.ConsoleMessage;
|
| import android.webkit.ValueCallback;
|
|
|
| import org.chromium.android_webview.AwContentsClient.AwWebResourceRequest;
|
| import org.chromium.android_webview.AwWebResourceResponse;
|
| import org.chromium.base.ThreadUtils;
|
| -import org.chromium.content.browser.WebActionMode;
|
| -import org.chromium.content.browser.WebActionModeCallback;
|
| -import org.chromium.content.browser.WebActionModeCallback.ActionHandler;
|
| import org.chromium.content.browser.test.util.CallbackHelper;
|
| import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnEvaluateJavaScriptResultHelper;
|
| import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageCommitVisibleHelper;
|
| @@ -221,16 +216,6 @@ public class TestAwContentsClient extends NullContentsClient {
|
| mOnReceivedSslErrorHelper.notifyCalled();
|
| }
|
|
|
| - @Override
|
| - public WebActionMode startActionMode(
|
| - View view, ActionHandler actionHandler, boolean floating) {
|
| - if (floating) return null;
|
| - ActionMode.Callback callback =
|
| - new WebActionModeCallback(view.getContext(), actionHandler);
|
| - ActionMode actionMode = view.startActionMode(callback);
|
| - return actionMode != null ? new WebActionMode(actionMode) : null;
|
| - }
|
| -
|
| public void setAllowSslError(boolean allow) {
|
| mAllowSslError = allow;
|
| }
|
|
|