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

Unified Diff: views/controls/label.h

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.cc ('k') | views/controls/label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/label.h
diff --git a/views/controls/label.h b/views/controls/label.h
index c1ccb52cd56a97affa2c7c686f43e6791015b0ea..2c3060d4ef3f7974c0754eb980d6a2c0a1cce71e 100644
--- a/views/controls/label.h
+++ b/views/controls/label.h
@@ -161,7 +161,7 @@ class Label : public View {
// GetPreferredSize().height() if the receiver is not multi-line.
virtual int GetHeightForWidth(int w);
// Sets the enabled state. Setting the enabled state resets the color.
- virtual void SetEnabled(bool enabled) OVERRIDE;
+ virtual void OnEnabledChanged() OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
// Mouse enter/exit are overridden to render mouse over background color.
// These invoke SetContainsMouse as necessary.
« no previous file with comments | « views/controls/combobox/combobox.cc ('k') | views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698