| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index a16d06351ea3d8770e2d3b3ae0e6482bb200d594..b962e2ada5ddb1404616a163272693b37c03b939 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -341,6 +341,10 @@ class GFX_EXPORT RenderText {
|
| // grapheme boundary), it is a no-op and returns false.
|
| bool MoveCursorTo(const SelectionModel& selection_model);
|
|
|
| + // Moves the cursor to the text index corresponding to |point|. If |select| is
|
| + // true, a selection is made with the current selection start index.
|
| + bool MoveCursorTo(const gfx::Point& point, bool select);
|
| +
|
| // Set the selection_model_ based on |range|.
|
| // If the |range| start or end is greater than text length, it is modified
|
| // to be the text length.
|
|
|