Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: ui/gfx/render_text.h

Issue 21140002: Consolidate RenderText adjacent word selection model code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup comments and add a unit test.~ Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/render_text.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index c4d48fd79058f9e81fb51816ea923052d7a02165..4999bc48dd35b95ab8ddc995bbd7d22d67eb85d6 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -367,9 +367,8 @@ class UI_EXPORT RenderText {
// Get the selection model visually left/right of |selection| by one word.
// The returned value represents a cursor/caret position without a selection.
- virtual SelectionModel AdjacentWordSelectionModel(
- const SelectionModel& selection,
- VisualCursorDirection direction) = 0;
+ SelectionModel AdjacentWordSelectionModel(const SelectionModel& selection,
+ VisualCursorDirection direction);
// Get the SelectionModels corresponding to visual text ends.
// The returned value represents a cursor/caret position without a selection.
« no previous file with comments | « no previous file | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698