| Index: views/controls/button/text_button.h
|
| ===================================================================
|
| --- views/controls/button/text_button.h (revision 54553)
|
| +++ views/controls/button/text_button.h (working copy)
|
| @@ -6,6 +6,8 @@
|
| #define VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| +
|
| #include "gfx/font.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| @@ -72,6 +74,9 @@
|
| ////////////////////////////////////////////////////////////////////////////////
|
| class TextButton : public CustomButton {
|
| public:
|
| + // The menu button's class name.
|
| + static const char kViewClassName[];
|
| +
|
| // Enumeration of how the prefix ('&') character is processed. The default
|
| // is |PREFIX_NONE|.
|
| enum PrefixType {
|
| @@ -153,6 +158,9 @@
|
| static const SkColor kDisabledColor;
|
| static const SkColor kHoverColor;
|
|
|
| + // Returns views/TextButton.
|
| + virtual std::string GetClassName() const;
|
| +
|
| protected:
|
| SkBitmap icon() const { return icon_; }
|
|
|
|
|