summaryrefslogtreecommitdiffstats
path: root/views/controls/button/custom_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/custom_button.h')
-rw-r--r--views/controls/button/custom_button.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h
index 4de3bd6..0126a9e 100644
--- a/views/controls/button/custom_button.h
+++ b/views/controls/button/custom_button.h
@@ -21,6 +21,9 @@ namespace views {
class CustomButton : public Button,
public AnimationDelegate {
public:
+ // The menu button's class name.
+ static const char kViewClassName[];
+
virtual ~CustomButton();
// Possible states
@@ -73,6 +76,9 @@ class CustomButton : public Button,
// when it's disabled.
bool IsMouseHovered() const;
+ // Returns views/CustomButton.
+ virtual std::string GetClassName() const;
+
protected:
// Construct the Button with a Listener. See comment for Button's ctor.
explicit CustomButton(ButtonListener* listener);