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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on Blink patch and OS_ANDROID specific Created 6 years, 9 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index ae00425b9fcf91ce8fd7127669dd29959d213539..e24fee1fd9ac24ce715d7664d10eb2e8e8712256 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -163,6 +163,11 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
virtual void SelectionBoundsChanged(
const ViewHostMsg_SelectionBounds_Params& params) = 0;
+#if defined(OS_ANDROID)
+ // Notifies the View that the renderer selection root bounds has changed.
+ virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) = 0;
+#endif
+
// Notifies the view that the scroll offset has changed.
virtual void ScrollOffsetChanged() = 0;

Powered by Google App Engine
This is Rietveld 408576698