| Index: views/controls/button/menu_button.h
|
| diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h
|
| index 1f5f8e8dd90c5a19c22d82bb3752f3d544c40ae4..44a93c61eed72b535c710169b32b00e1b5ee598d 100644
|
| --- a/views/controls/button/menu_button.h
|
| +++ b/views/controls/button/menu_button.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_
|
| #define VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_
|
|
|
| +#include <string>
|
| +
|
| #include "app/gfx/font.h"
|
| #include "base/time.h"
|
| #include "views/background.h"
|
| @@ -25,6 +27,9 @@ class ViewMenuDelegate;
|
| ////////////////////////////////////////////////////////////////////////////////
|
| class MenuButton : public TextButton {
|
| public:
|
| + // The menu button's class name.
|
| + static const char kViewClassName[];
|
| +
|
| //
|
| // Create a Button
|
| MenuButton(ButtonListener* listener,
|
| @@ -56,6 +61,9 @@ class MenuButton : public TextButton {
|
| virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
|
| virtual bool GetAccessibleState(AccessibilityTypes::State* state);
|
|
|
| + // Returns views/MenuButton.
|
| + virtual std::string GetClassName() const;
|
| +
|
| protected:
|
| // True if the menu is currently visible.
|
| bool menu_visible_;
|
|
|