Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 696503002: [Android] Use the Activity context for content selection handles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698