| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index c84af63bd6db88c11ddf79e11b6f7087857cc94e..8b07cb12443453ec12a93233c8ec9d146330ecad 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -537,6 +537,12 @@ class CONTENT_EXPORT RenderWidget
|
| // Tell the browser about the actions permitted for a new touch point.
|
| virtual void setTouchAction(blink::WebTouchAction touch_action);
|
|
|
| +#if defined(OS_ANDROID)
|
| + // Checks if the selection root bounds have changed. If they have changed, the
|
| + // new value will be sent to the browser process.
|
| + virtual void UpdateSelectionRootBounds();
|
| +#endif
|
| +
|
| // Creates a 3D context associated with this view.
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
|
| const blink::WebGraphicsContext3D::Attributes& attributes);
|
| @@ -680,6 +686,11 @@ class CONTENT_EXPORT RenderWidget
|
| gfx::Rect selection_focus_rect_;
|
| gfx::Rect selection_anchor_rect_;
|
|
|
| + // Stores the current selection root bounds.
|
| +#if defined(OS_ANDROID)
|
| + gfx::Rect selection_root_rect_;
|
| +#endif
|
| +
|
| // Stores the current composition character bounds.
|
| std::vector<gfx::Rect> composition_character_bounds_;
|
|
|
|
|