Chromium Code Reviews| Index: views/controls/textfield/textfield_views_model.h |
| =================================================================== |
| --- views/controls/textfield/textfield_views_model.h (revision 93971) |
| +++ views/controls/textfield/textfield_views_model.h (working copy) |
| @@ -136,7 +136,7 @@ |
| // Moves the cursor to the specified |position|. |
|
msw
2011/08/01 05:02:23
Comment needs updating at the very least.
|
| // If |select| is true, it updates the selection accordingly. |
| // The current composition text will be confirmed. |
| - bool MoveCursorTo(size_t position, bool select); |
| + bool MoveCursorTo(const gfx::SelectionModel& selection, bool select); |
| // Helper function to call MoveCursorTo on the TextfieldViewsModel. |
| bool MoveCursorTo(const gfx::Point& point, bool select); |