Add support for java versions of WebContents and NavigationController.
This is on the path of cleaning of ContentViewCore, which has been a
dumping ground for all things webcontents-y. The hope is to move to a
world where java mimics other platforms more closely.
BUG=
Review URL: https://codereview.chromium.org/82693007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239506 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 7752dce6..79bfc23 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -268,6 +268,10 @@
bool is_favicon,
uint32_t max_bitmap_size,
const ImageDownloadCallback& callback) OVERRIDE;
+#if defined(OS_ANDROID)
+ virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents()
+ OVERRIDE;
+#endif
// Implementation of PageNavigator.
virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE;