Chromium Code Reviews| Index: ui/gfx/render_text_linux.h |
| =================================================================== |
| --- ui/gfx/render_text_linux.h (revision 100777) |
| +++ ui/gfx/render_text_linux.h (working copy) |
| @@ -74,6 +74,12 @@ |
| SelectionModel LeftSelectionModel(const SelectionModel& current); |
| SelectionModel RightSelectionModel(const SelectionModel& current); |
| + // Get the selection model visually left or right of |current| by one |
| + // word. |
|
msw
2011/09/15 01:26:00
" word." fits on the line above.
xji
2011/09/15 22:58:09
Done.
|
| + // The returned value represents a cursor/caret position without a selection. |
| + SelectionModel LeftSelectionModelByWord(const SelectionModel& current); |
| + SelectionModel RightSelectionModelByWord(const SelectionModel& current); |
| + |
| // If |layout_| is NULL, create and setup |layout_|, retain and ref |
| // |current_line_|. Return |layout_|. |
| PangoLayout* EnsureLayout(); |