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

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

Issue 6976048: views: Add OnEnabledChanged() method to View class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DisableOnHover test? 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
« no previous file with comments | « views/controls/combobox/combobox.h ('k') | views/controls/label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/combobox/combobox.cc
diff --git a/views/controls/combobox/combobox.cc b/views/controls/combobox/combobox.cc
index fefa36aafd35a55a2972ddee64b320665c36a9fc..23df9faa2f4d9380df3e566be83e5df96233d1dd 100644
--- a/views/controls/combobox/combobox.cc
+++ b/views/controls/combobox/combobox.cc
@@ -78,8 +78,8 @@ void Combobox::Layout() {
}
}
-void Combobox::SetEnabled(bool flag) {
- View::SetEnabled(flag);
+void Combobox::OnEnabledChanged() {
+ View::OnEnabledChanged();
if (native_wrapper_)
native_wrapper_->UpdateEnabled();
}
« no previous file with comments | « views/controls/combobox/combobox.h ('k') | views/controls/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698