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..cf6dea7c88ee68854750c2feb362fabbc4ac7949 100644 |
--- a/ui/views/controls/textfield/textfield_views_model.h |
+++ b/ui/views/controls/textfield/textfield_views_model.h |
@@ -141,9 +141,6 @@ class VIEWS_EXPORT TextfieldViewsModel { |
// Returns the selected text. |
string16 GetSelectedText() const; |
- // Gets the selected range. |
- void GetSelectedRange(ui::Range* range) const; |
- |
// The current composition text will be confirmed. The selection starts with |
// the range's start position, and ends with the range's end position, |
// therefore the cursor position becomes the end position. |
@@ -259,7 +256,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, |