| Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| index 10ae2a54fed07640fb8502ebf49be20922d7e56e..3f2c707dce8447bc8b0abc5a24dc508ac6b8c1b2 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| @@ -11,7 +11,6 @@
|
| import android.os.Handler;
|
| import android.os.Message;
|
| import android.provider.MediaStore;
|
| -import android.text.TextUtils;
|
| import android.util.Log;
|
| import android.view.KeyEvent;
|
| import android.view.View;
|
| @@ -20,7 +19,6 @@
|
|
|
| import org.chromium.base.ContentUriUtils;
|
| import org.chromium.base.ThreadUtils;
|
| -import org.chromium.content_public.browser.InvalidateTypes;
|
|
|
| /**
|
| * Adapts the AwWebContentsDelegate interface to the AwContentsClient interface.
|
| @@ -215,20 +213,6 @@
|
| }
|
|
|
| @Override
|
| - public void navigationStateChanged(int flags) {
|
| - if ((flags & InvalidateTypes.URL) != 0 && mAwContents.hasAccessedInitialDocument()) {
|
| - // Hint the client to show the last committed url, as it may be unsafe to show
|
| - // the pending entry.
|
| - String url = mAwContents.getLastCommittedUrl();
|
| - url = TextUtils.isEmpty(url) ? "about:blank" : url;
|
| - mContentsClient.onPageStarted(url);
|
| - mContentsClient.onLoadResource(url);
|
| - mContentsClient.onProgressChanged(100);
|
| - mContentsClient.onPageFinished(url);
|
| - }
|
| - }
|
| -
|
| - @Override
|
| public void toggleFullscreenModeForTab(boolean enterFullscreen) {
|
| if (enterFullscreen) {
|
| mContentViewClient.enterFullscreen();
|
|
|