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..b2825850aef8c8d0df798d961c812e239602c1f9 100644 |
--- a/android_webview/native/aw_contents.h |
+++ b/android_webview/native/aw_contents.h |
@@ -27,12 +27,16 @@ class AwWebContentsDelegate; |
// level of indirection provided by the AwContentsContainer abstraction. |
class AwContents { |
public: |
+ // Returns the AwContents instance associated with |web_contents|, or NULL. |
+ static AwContents* FromWebContents(content::WebContents* web_contents); |
+ |
AwContents(JNIEnv* env, |
jobject obj, |
jobject web_contents_delegate, |
bool private_browsing); |
~AwContents(); |
+ // Methods called from Java. |
jint GetWebContents(JNIEnv* env, jobject obj); |
void Destroy(JNIEnv* env, jobject obj); |