Chromium Code Reviews| Index: ui/views/controls/textfield/textfield_model.h |
| diff --git a/ui/views/controls/textfield/textfield_model.h b/ui/views/controls/textfield/textfield_model.h |
| index 9bdb48c834f4786cbcd4c90713b6782a217a1567..32cfd85f423b9ab4115842129120e63ae9486ca2 100644 |
| --- a/ui/views/controls/textfield/textfield_model.h |
| +++ b/ui/views/controls/textfield/textfield_model.h |
| @@ -123,6 +123,10 @@ class VIEWS_EXPORT TextfieldModel { |
| // Helper function to call MoveCursorTo on the TextfieldModel. |
| bool MoveCursorTo(const gfx::Point& point, bool select); |
| + // Helper functions to move the cursor to the start and end. |
| + void MoveCursorToStart(bool select); |
|
tapted
2016/04/06 23:29:38
nit `select` is always in this code, so in Chrome'
Elly Fong-Jones
2016/04/07 17:43:47
Removed these methods.
|
| + void MoveCursorToEnd(bool select); |
| + |
| // Selection related methods. |
| // Returns the selected text. |