| Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| index d6cb714f86af849bfea8bf5593f41e69eedc11f4..049e5af8d0ea21e9ed7813af43f522d757c165e0 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| @@ -166,6 +166,11 @@ import org.chromium.content_public.browser.WebContents;
|
| }
|
|
|
| @Override
|
| + public String getLastCommittedUrl() {
|
| + return nativeGetLastCommittedURL(mNativeWebContentsAndroid);
|
| + }
|
| +
|
| + @Override
|
| public boolean isIncognito() {
|
| return nativeIsIncognito(mNativeWebContentsAndroid);
|
| }
|
| @@ -296,6 +301,11 @@ import org.chromium.content_public.browser.WebContents;
|
| nativeAddMessageToDevToolsConsole(mNativeWebContentsAndroid, level, message);
|
| }
|
|
|
| + @Override
|
| + public boolean hasAccessedInitialDocument() {
|
| + return nativeHasAccessedInitialDocument(mNativeWebContentsAndroid);
|
| + }
|
| +
|
| @CalledByNative
|
| private static void onEvaluateJavaScriptResult(
|
| String jsonResult, JavaScriptCallback callback) {
|
| @@ -328,6 +338,7 @@ import org.chromium.content_public.browser.WebContents;
|
| private native void nativeScrollFocusedEditableNodeIntoView(long nativeWebContentsAndroid);
|
| private native void nativeSelectWordAroundCaret(long nativeWebContentsAndroid);
|
| private native String nativeGetURL(long nativeWebContentsAndroid);
|
| + private native String nativeGetLastCommittedURL(long nativeWebContentsAndroid);
|
| private native boolean nativeIsIncognito(long nativeWebContentsAndroid);
|
| private native void nativeResumeResponseDeferredAtStart(long nativeWebContentsAndroid);
|
| private native void nativeSetHasPendingNavigationTransitionForTesting(
|
| @@ -347,4 +358,6 @@ import org.chromium.content_public.browser.WebContents;
|
| String script, JavaScriptCallback callback);
|
| private native void nativeAddMessageToDevToolsConsole(
|
| long nativeWebContentsAndroid, int level, String message);
|
| + private native boolean nativeHasAccessedInitialDocument(
|
| + long nativeWebContentsAndroid);
|
| }
|
|
|