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

Unified Diff: views/controls/textfield/textfield.cc

Issue 7067015: An edit for SetText needs to be merged with previous edit for omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 7 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.cc
diff --git a/views/controls/textfield/textfield.cc b/views/controls/textfield/textfield.cc
index 8775871be7790698994d2d2c731932f56788b798..c2bc1288fedce19c2eb80cf796579fbb8bef72fb 100644
--- a/views/controls/textfield/textfield.cc
+++ b/views/controls/textfield/textfield.cc
@@ -289,6 +289,11 @@ void Textfield::ClearAllTextStyles() {
native_wrapper_->ClearAllTextStyles();
}
+void Textfield::ClearEditHistory() {
+ DCHECK(native_wrapper_);
+ native_wrapper_->ClearEditHistory();
+}
+
void Textfield::SetAccessibleName(const string16& name) {
accessible_name_ = name;
}

Powered by Google App Engine
This is Rietveld 408576698