Index: content/public/browser/android/content_view_core.h |
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h |
index 0c38fb1251c591354c2f4c5f6b8eac8c301e273a..a1c43b2281a4edb9d32303c2889310cfd8769fdd 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -17,8 +17,6 @@ class WebContents; |
// communicating with the native Chromium code on Android. This is a |
// public interface used by native code outside of the content module. |
// |
-// TODO(jrg): this is a shell. Upstream the rest. |
-// |
// TODO(jrg): downstream, this class derives from |
// base::SupportsWeakPtr<ContentViewCore>. Issues raised in |
// http://codereview.chromium.org/10536066/ make us want to rethink |
@@ -46,7 +44,7 @@ class ContentViewCore { |
// -------------------------------------------------------------------------- |
// Methods called from native code |
// -------------------------------------------------------------------------- |
- |
+ virtual content::WebContents* web_contents() const = 0; |
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; |
protected: |
@@ -55,4 +53,4 @@ class ContentViewCore { |
}; // namespace content |
-#endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_ |
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ |