Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2637)

Unified Diff: android_webview/native/aw_contents.h

Issue 10890024: Implement DocuementHasImages (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index b37511af96d0e05f6a746ae4c7fd38368c20121d..00a32c332854a08b9bd4adf2861fa946b7b249eb 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -19,6 +19,7 @@ class WebContents;
namespace android_webview {
class AwContentsContainer;
+class AwRenderViewHostExt;
class AwWebContentsDelegate;
// Native side of java-class of same name.
@@ -33,13 +34,16 @@ class AwContents {
bool private_browsing);
~AwContents();
+ // Methods called from Java via JNI
jint GetWebContents(JNIEnv* env, jobject obj);
void Destroy(JNIEnv* env, jobject obj);
+ void DocumentHasImages(JNIEnv* env, jobject obj, jobject message);
private:
JavaObjectWeakGlobalRef java_ref_;
scoped_ptr<AwContentsContainer> contents_container_;
scoped_ptr<AwWebContentsDelegate> web_contents_delegate_;
+ scoped_ptr<AwRenderViewHostExt> render_view_host_ext_;
DISALLOW_COPY_AND_ASSIGN(AwContents);
};

Powered by Google App Engine
This is Rietveld 408576698