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 135524e289a44035be219830cdb0e1044f7febf1..5f4ddaf711f41ae6665dbc65a98229d893e7cc57 100644 |
--- a/ui/views/controls/textfield/textfield_model.h |
+++ b/ui/views/controls/textfield/textfield_model.h |
@@ -114,7 +114,14 @@ class VIEWS_EXPORT TextfieldModel { |
// The current composition text will be confirmed. |
void MoveCursor(gfx::BreakType break_type, |
gfx::VisualCursorDirection direction, |
- bool select); |
+ bool select, |
+ gfx::SelectionReversedBehavior select_behavior); |
+ |
+ void MoveCursor(gfx::BreakType break_type, |
+ gfx::VisualCursorDirection direction, |
+ bool select) { |
+ MoveCursor(break_type, direction, select, gfx::SELECTION_DEFAULT); |
+ } |
// Updates the cursor to the specified selection model. Any composition text |
// will be confirmed, which may alter the specified selection range start. |