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

Unified Diff: views/controls/button/custom_button.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/button/checkbox.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/custom_button.h
diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h
index b8984838e388945249310f3ed41f827f2da7aa61..8309751c76da60bec6db21894759edf060e4d076 100644
--- a/views/controls/button/custom_button.h
+++ b/views/controls/button/custom_button.h
@@ -6,8 +6,8 @@
#define VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_
#pragma once
-#include "views/controls/button/button.h"
#include "ui/base/animation/animation_delegate.h"
+#include "views/controls/button/button.h"
namespace ui {
class ThrobAnimation;
@@ -75,7 +75,7 @@ class CustomButton : public Button,
// Overridden from View:
virtual void SetHotTracked(bool flag) OVERRIDE;
virtual bool IsHotTracked() const OVERRIDE;
- virtual void SetEnabled(bool enabled) OVERRIDE;
+ virtual void OnEnabledChanged() OVERRIDE;
virtual bool IsEnabled() const OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
« no previous file with comments | « views/controls/button/checkbox.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698