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

Unified Diff: views/controls/textfield/textfield_views_model.h

Issue 7461102: modification to RenderText for inheritance/SelectionModel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: views/controls/textfield/textfield_views_model.h
===================================================================
--- views/controls/textfield/textfield_views_model.h (revision 93971)
+++ views/controls/textfield/textfield_views_model.h (working copy)
@@ -136,7 +136,7 @@
// Moves the cursor to the specified |position|.
msw 2011/08/01 05:02:23 Comment needs updating at the very least.
// If |select| is true, it updates the selection accordingly.
// The current composition text will be confirmed.
- bool MoveCursorTo(size_t position, bool select);
+ bool MoveCursorTo(const gfx::SelectionModel& selection, bool select);
// Helper function to call MoveCursorTo on the TextfieldViewsModel.
bool MoveCursorTo(const gfx::Point& point, bool select);

Powered by Google App Engine
This is Rietveld 408576698