Index: ui/views/controls/button/label_button.cc |
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc |
index 3fa79f85135fd86a9e2cf00c1bd624987e5a00fc..58e3fe68792970aeb858f21d59b4c70f558013ca 100644 |
--- a/ui/views/controls/button/label_button.cc |
+++ b/ui/views/controls/button/label_button.cc |
@@ -23,9 +23,6 @@ namespace { |
// The spacing between the icon and text. |
const int kSpacing = 5; |
-// The length of the hover fade animation. |
-const int kHoverAnimationDurationMs = 170; |
- |
// Default text and shadow colors for STYLE_BUTTON. |
const SkColor kStyleButtonTextColor = SK_ColorBLACK; |
const SkColor kStyleButtonShadowColor = SK_ColorWHITE; |
@@ -35,6 +32,9 @@ const SkColor kStyleButtonShadowColor = SK_ColorWHITE; |
namespace views { |
// static |
+const int LabelButton::kHoverAnimationDurationMs = 170; |
+ |
+// static |
const char LabelButton::kViewClassName[] = "LabelButton"; |
LabelButton::LabelButton(ButtonListener* listener, const string16& text) |