Index: views/controls/textfield/textfield_views_model.h |
=================================================================== |
--- views/controls/textfield/textfield_views_model.h (revision 95171) |
+++ views/controls/textfield/textfield_views_model.h (working copy) |
@@ -134,10 +134,10 @@ |
void MoveCursorLeft(gfx::BreakType break_type, bool select); |
void MoveCursorRight(gfx::BreakType break_type, bool select); |
- // Moves the cursor to the specified |position|. |
- // If |select| is true, it updates the selection accordingly. |
+ // Moves the cursor to the specified cursor position in |selection|. |
+ // Update selection to selection range in |selection|. |
// The current composition text will be confirmed. |
- bool MoveCursorTo(size_t position, bool select); |
+ bool MoveCursorTo(gfx::SelectionModel* selection); |
// Helper function to call MoveCursorTo on the TextfieldViewsModel. |
bool MoveCursorTo(const gfx::Point& point, bool select); |