Index: android_webview/java/src/org/chromium/android_webview/AwContents.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
index f199bec7386ed3f75cf21d466cf0a673d71d0692..8d0d278c0f250dc7a8492da604d3ef823ecbe74f 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
@@ -1239,19 +1239,6 @@ |
return url; |
} |
- /** |
- * Gets the last committed URL. It represents the current page that is |
- * displayed in WebContents. It represents the current security context. |
- * |
- * @return The URL of the current page or null if it's empty. |
- */ |
- public String getLastCommittedUrl() { |
- if (isDestroyed()) return null; |
- String url = mWebContents.getLastCommittedUrl(); |
- if (url == null || url.trim().isEmpty()) return null; |
- return url; |
- } |
- |
public void requestFocus() { |
mAwViewMethods.requestFocus(); |
} |
@@ -1842,11 +1829,6 @@ |
MessagePort[] ports = mBrowserContext.getMessagePortService().createMessageChannel(); |
nativeCreateMessageChannel(mNativeAwContents, ports); |
return ports; |
- } |
- |
- public boolean hasAccessedInitialDocument() { |
- if (isDestroyed()) return false; |
- return mWebContents.hasAccessedInitialDocument(); |
} |
//-------------------------------------------------------------------------------------------- |