Index: content/browser/android/content_view_core_impl.h |
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h |
index 8304df0eb290e31ef50df6114a4a85f82e7ebaa8..b9ff45409e664ea93be6b2fb2250dffde9d323b7 100644 |
--- a/content/browser/android/content_view_core_impl.h |
+++ b/content/browser/android/content_view_core_impl.h |
@@ -248,6 +248,10 @@ class ContentViewCoreImpl : public ContentViewCore, |
void DidStopFlinging(); |
+ // Returns the context with which the ContentViewCore was created, typically |
+ // the Activity context. |
+ base::android::ScopedJavaLocalRef<jobject> GetContext() const; |
+ |
// Returns the viewport size after accounting for the viewport offset. |
gfx::Size GetViewSize() const; |