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

Unified Diff: ui/views/controls/button/custom_button.h

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing 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/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index ecb49f60a3f540b30acc84711b59ea65b4f40565..357f4db703d5d1483a7e75f43d95c7aba12b32f2 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -26,6 +26,9 @@ class CustomButtonStateChangedDelegate;
class VIEWS_EXPORT CustomButton : public Button,
public gfx::AnimationDelegate {
public:
+ // How long the hover animation takes if uninterrupted.
+ static const int kHoverFadeDurationMs;
+
// The menu button's class name.
static const char kViewClassName[];

Powered by Google App Engine
This is Rietveld 408576698