| Index: chrome/views/controls/button/custom_button.h
|
| ===================================================================
|
| --- chrome/views/controls/button/custom_button.h (revision 12354)
|
| +++ chrome/views/controls/button/custom_button.h (working copy)
|
| @@ -43,6 +43,14 @@
|
| virtual bool IsEnabled() const;
|
| virtual bool IsFocusable() const;
|
|
|
| + void set_triggerable_event_flags(int triggerable_event_flags) {
|
| + triggerable_event_flags_ = triggerable_event_flags;
|
| + }
|
| +
|
| + int triggerable_event_flags() const {
|
| + return triggerable_event_flags_;
|
| + }
|
| +
|
| protected:
|
| // Construct the Button with a Listener. See comment for Button's ctor.
|
| explicit CustomButton(ButtonListener* listener);
|
| @@ -86,6 +94,9 @@
|
| // throbbing.
|
| bool animate_on_state_change_;
|
|
|
| + // Mouse event flags which can trigger button actions.
|
| + int triggerable_event_flags_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CustomButton);
|
| };
|
|
|
|
|