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

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

Issue 251099: Refactor cros library code into central location and have the UI elements obs... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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
« no previous file with comments | « chrome/chrome.gyp ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/custom_button.h
===================================================================
--- views/controls/button/custom_button.h (revision 28124)
+++ views/controls/button/custom_button.h (working copy)
@@ -41,6 +41,9 @@
// Set how long the hover animation will last for.
void SetAnimationDuration(int duration);
+ // Sets whether or not to show the highlighed (i.e. hot) state. Default true.
+ void SetShowHighlighted(bool show_highlighted);
+
// Overridden from View:
virtual void SetEnabled(bool enabled);
virtual bool IsEnabled() const;
@@ -105,6 +108,9 @@
// throbbing.
bool animate_on_state_change_;
+ // Whether or not to show the highlighted (i.e. hot) state.
+ bool show_highlighted_;
+
// Mouse event flags which can trigger button actions.
int triggerable_event_flags_;
« no previous file with comments | « chrome/chrome.gyp ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698