Index: android_webview/native/aw_contents.h |
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h |
index 347705a62b5ad4eb548d2ab2b8987d4f6e6006fd..9914337591c73e5ac465d9bbbb8efd7441cee46f 100644 |
--- a/android_webview/native/aw_contents.h |
+++ b/android_webview/native/aw_contents.h |
@@ -48,6 +48,10 @@ class AwContents : public FindHelper::Listener, |
// Returns the AwContents instance associated with |web_contents|, or NULL. |
static AwContents* FromWebContents(content::WebContents* web_contents); |
+ // Returns the AwContents instance associated with with the given |
+ // render_process_id and render_view_id, or NULL. |
+ static AwContents* FromID(int render_process_id, int render_view_id); |
+ |
AwContents(JNIEnv* env, |
jobject obj, |
jobject web_contents_delegate); |