| Index: content/browser/renderer_host/render_widget_host_view_base.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
|
| index f6a25c17c6e18b7a5b83149f686ace8cda3fc7e5..7b15f71e4f9fabb9169900c41d0144f1bf91612e 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_base.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_base.h
|
| @@ -263,6 +263,18 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
| // (https://crbug.com/578168).
|
| virtual void ImeCancelComposition();
|
|
|
| + // Notifies the View that the renderer selection bounds has changed.
|
| + // Selection bounds are described as a focus bound which is the current
|
| + // position of caret on the screen, as well as the anchor bound which is the
|
| + // starting position of the selection. The coordinates are with respect to
|
| + // RenderWidget's window's origin. Focus and anchor bound are represented as
|
| + // gfx::Rect.
|
| + // TODO(ekaramad): This method will not stay virtual. It will be moved up top
|
| + // with the other non-virtual methods after IME is fixed on all platforms.
|
| + // (https://crbug.com/578168).
|
| + virtual void SelectionBoundsChanged(
|
| + const ViewHostMsg_SelectionBounds_Params& params);
|
| +
|
| //----------------------------------------------------------------------------
|
| // The following static methods are implemented by each platform.
|
|
|
| @@ -299,13 +311,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
| // the page has changed.
|
| virtual void SetTooltipText(const base::string16& tooltip_text) = 0;
|
|
|
| - // Notifies the View that the renderer selection bounds has changed.
|
| - // |start_rect| and |end_rect| are the bounds end of the selection in the
|
| - // coordinate system of the render view. |start_direction| and |end_direction|
|
| - // indicates the direction at which the selection was made on touch devices.
|
| - virtual void SelectionBoundsChanged(
|
| - const ViewHostMsg_SelectionBounds_Params& params) = 0;
|
| -
|
| // Copies the contents of the compositing surface, providing a new SkBitmap
|
| // result via an asynchronously-run |callback|. |src_subrect| is specified in
|
| // layer space coordinates for the current platform (e.g., DIP for Aura/Mac,
|
|
|