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

Unified Diff: views/controls/label.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/label.cc
diff --git a/views/controls/label.cc b/views/controls/label.cc
index 627dd98bab7b7be0f2300e4bc769e1b69cb95ab1..3648112b9095d5886c9b1402fea6100240e652fd 100644
--- a/views/controls/label.cc
+++ b/views/controls/label.cc
@@ -206,7 +206,7 @@ int Label::GetHeightForWidth(int w) {
return h + GetInsets().height();
}
-void Label::SetEnabled(bool enabled) {
+void Label::OnEnabledChanged(bool enabled) {
if (enabled == enabled_)
return;
View::SetEnabled(enabled);
Ben Goodger (Google) 2011/05/27 16:01:21 Infinite recursion.
tfarina 2011/05/27 16:25:04 Done.

Powered by Google App Engine
This is Rietveld 408576698