Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: ui/views/controls/button/label_button.cc

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's review (4) Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698