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

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: Updates Created 6 years, 7 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 919dad8d913f3e1f7d3412790a5d0919ec9c912e..7993077c74cee79adbff455ed679573d139667fd 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -262,8 +262,13 @@ 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_first,
+ bool is_anchor_visible,
+ bool is_focus_visible);
void StartContentIntent(const GURL& content_url);

Powered by Google App Engine
This is Rietveld 408576698