| Index: content/browser/renderer_host/render_widget_host_view.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
|
| index 8463cb8777a813eb340f75b2249b9efdc411b352..cd1bc2f95490d91957d9c4ea293cdda165ef0be7 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view.h
|
| @@ -179,9 +179,13 @@ class RenderWidgetHostView {
|
| // the page has changed.
|
| virtual void SetTooltipText(const std::wstring& tooltip_text) = 0;
|
|
|
| - // Notifies the View that the renderer text selection has changed.
|
| + // Notifies the View that the renderer text selection has changed. |start|
|
| + // and |end| are the visual end points of the selection in the coordinate
|
| + // system of the render view.
|
| virtual void SelectionChanged(const std::string& text,
|
| - const ui::Range& range) {}
|
| + const ui::Range& range,
|
| + const gfx::Point& start,
|
| + const gfx::Point& end) {}
|
|
|
| // Tells the View whether the context menu is showing. This is used on Linux
|
| // to suppress updates to webkit focus for the duration of the show.
|
|
|