| 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 03a8b161b898a7ec7d2e44beac06839861adeb6b..5717762cf71be0cebf0eb5010d404de98da1f7aa 100644
|
| --- a/ui/views/controls/button/custom_button.h
|
| +++ b/ui/views/controls/button/custom_button.h
|
| @@ -29,6 +29,14 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
|
| NOTIFY_ON_RELEASE,
|
| };
|
|
|
| + // An enum describing the events on which a button should be clicked for a
|
| + // given key event.
|
| + enum KeyClickAction {
|
| + CLICK_ON_KEY_PRESS,
|
| + CLICK_ON_KEY_RELEASE,
|
| + CLICK_NONE,
|
| + };
|
| +
|
| // The menu button's class name.
|
| static const char kViewClassName[];
|
|
|
|
|