| 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 a5003ad253a878d9a7f6cc66a89363f1f0aadb39..2f78b3e63f4f7dbc6573a176003f7b04495f1da4 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -78,12 +78,6 @@ public class AwContents {
|
| mCleanupReference.cleanupNow();
|
| }
|
|
|
| - private native int nativeInit(AwWebContentsDelegate webViewWebContentsDelegate,
|
| - boolean privateBrowsing);
|
| - private static native void nativeDestroy(int nativeAwContents);
|
| -
|
| - private native int nativeGetWebContents(int nativeAwContents);
|
| -
|
| /**
|
| * @return load progress of the WebContents
|
| */
|
| @@ -91,4 +85,19 @@ public class AwContents {
|
| // WebContentsDelegateAndroid conveniently caches the most recent notified value for us.
|
| return mContentsClient.getWebContentsDelegate().getMostRecentProgress();
|
| }
|
| +
|
| + @CalledByNative
|
| + private static void onDocumentHasImagesResponse(boolean result, Message message) {
|
| + message.arg1 = result ? 1 : 0;
|
| + message.sendToTarget();
|
| + }
|
| +
|
| + private native int nativeInit(AwWebContentsDelegate webViewWebContentsDelegate,
|
| + boolean privateBrowsing);
|
| + private static native void nativeDestroy(int nativeAwContents);
|
| +
|
| + private native int nativeGetWebContents(int nativeAwContents);
|
| +
|
| + private native void nativeDocumentHasImages(int nativeAwContents, Message message);
|
| }
|
| +
|
|
|