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

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

Issue 6976048: views: Add OnEnabledChanged() method to View class. (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 1d6b078d29ae8e85a7ba9f82f741de42b9676407..2772203f9d8bb300d7afab26e7618486ca373857 100644
--- a/views/controls/textfield/textfield.cc
+++ b/views/controls/textfield/textfield.cc
@@ -377,7 +377,7 @@ TextInputClient* Textfield::GetTextInputClient() {
return native_wrapper_ ? native_wrapper_->GetTextInputClient() : NULL;
}
-void Textfield::SetEnabled(bool enabled) {
+void Textfield::OnEnabledChanged(bool enabled) {
View::SetEnabled(enabled);
Ben Goodger (Google) 2011/05/27 16:01:21 Infinite recursion.
tfarina 2011/05/27 16:25:04 Done.
if (native_wrapper_)
native_wrapper_->UpdateEnabled();

Powered by Google App Engine
This is Rietveld 408576698