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

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

Issue 9390022: Simplify handling of BiDi cursor movement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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: ui/views/controls/textfield/textfield_views_model.h
diff --git a/ui/views/controls/textfield/textfield_views_model.h b/ui/views/controls/textfield/textfield_views_model.h
index c6c1c400d998ab9609d313db8269e984010a8d85..06bfb99aecfceede6c107984b4cf16db9fbbb2b3 100644
--- a/ui/views/controls/textfield/textfield_views_model.h
+++ b/ui/views/controls/textfield/textfield_views_model.h
@@ -259,7 +259,7 @@ class VIEWS_EXPORT TextfieldViewsModel {
void ClearRedoHistory();
// Executes and records edit operations.
- void ExecuteAndRecordDelete(size_t from, size_t to, bool mergeable);
+ void ExecuteAndRecordDelete(ui::Range range, bool mergeable);
void ExecuteAndRecordReplaceSelection(internal::MergeType merge_type,
const string16& text);
void ExecuteAndRecordReplace(internal::MergeType merge_type,

Powered by Google App Engine
This is Rietveld 408576698