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

Unified Diff: views/controls/button/text_button.h

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/button/text_button.h
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h
index c878eb1eb3f99680f3c5d1c3201ff51cb47452ea..6569feca4758ef8bcf73c6c0a9699c1094b311d2 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -188,7 +188,7 @@ class TextButtonBase : public CustomButton, public NativeThemeDelegate {
// Overridden from View:
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual gfx::Size GetMinimumSize() OVERRIDE;
- virtual void SetEnabled(bool enabled) OVERRIDE;
+ virtual void OnEnabledChanged(bool enabled) OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
// Text colors.

Powered by Google App Engine
This is Rietveld 408576698