diff options
Diffstat (limited to 'views/controls/button/custom_button.cc')
-rw-r--r-- | views/controls/button/custom_button.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/controls/button/custom_button.cc b/views/controls/button/custom_button.cc index ebca6ff..7a3eca2 100644 --- a/views/controls/button/custom_button.cc +++ b/views/controls/button/custom_button.cc @@ -13,6 +13,9 @@ namespace views { // How long the hover animation takes if uninterrupted. static const int kHoverFadeDurationMs = 150; +// static +const char CustomButton::kViewClassName[] = "views/CustomButton"; + //////////////////////////////////////////////////////////////////////////////// // CustomButton, public: @@ -103,6 +106,10 @@ bool CustomButton::IsMouseHovered() const { return HitTest(cursor_pos); } +std::string CustomButton::GetClassName() const { + return kViewClassName; +} + //////////////////////////////////////////////////////////////////////////////// // CustomButton, protected: |