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

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

Issue 300323005: Route selection bounds updates through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Defer selection updates until after compositor scheduling Created 6 years, 6 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
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 269ac88443973362cedc8b467da532d2cd14b51e..3ac57aa7231cafb8d6e24769b765eb9beadb36e6 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -264,8 +264,12 @@ class ContentViewCoreImpl : public ContentViewCore,
InputEventAckState ack_result);
bool FilterInputEvent(const blink::WebInputEvent& event);
void OnSelectionChanged(const std::string& text);
- void OnSelectionBoundsChanged(
- const ViewHostMsg_SelectionBounds_Params& params);
+ void OnSelectionBoundsChanged(const gfx::PointF& anchor,
+ const gfx::PointF& focus,
+ int anchor_dir,
+ int focus_dir,
+ bool is_anchor_visible,
+ bool is_focus_visible);
void StartContentIntent(const GURL& content_url);

Powered by Google App Engine
This is Rietveld 408576698