Index: ui/gfx/render_text.h |
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h |
index 9265d9d0166b804aaeaeb5c9e19defb634d560c3..54b9edca43b952a60eb2cc7fb98485a95460e94d 100644 |
--- a/ui/gfx/render_text.h |
+++ b/ui/gfx/render_text.h |
@@ -328,10 +328,11 @@ class GFX_EXPORT RenderText { |
// Moves the cursor left or right. Cursor movement is visual, meaning that |
// left and right are relative to screen, not the directionality of the text. |
- // If |select| is false, the selection start is moved to the same position. |
+ // |selection_behavior| determines whether a selection is to be made and it's |
+ // behavior. |
void MoveCursor(BreakType break_type, |
VisualCursorDirection direction, |
- bool select); |
+ SelectionBehavior selection_behavior); |
// Set the selection_model_ to the value of |selection|. |
// The selection range is clamped to text().length() if out of range. |