Chromium Code Reviews| Index: ui/base/cocoa/hover_button.h |
| diff --git a/ui/base/cocoa/hover_button.h b/ui/base/cocoa/hover_button.h |
| index e665d3a6a7a1fd3e3d8c7e98f3b533738d2473ad..cdf67d755959d5213b611f169d29cf385753ffc0 100644 |
| --- a/ui/base/cocoa/hover_button.h |
| +++ b/ui/base/cocoa/hover_button.h |
| @@ -23,16 +23,18 @@ UI_EXPORT |
| kHoverStateMouseDown = 2 |
| }; |
| - HoverState hoverState_; |
| + // Whether the user is mousing inside the button. |
| + BOOL isMouseInside_; |
| @private |
| // Tracking area for button mouseover states. Nil if not enabled. |
| ui::ScopedCrTrackingArea trackingArea_; |
| } |
| -@property(nonatomic) HoverState hoverState; |
| +@property(nonatomic) BOOL isMouseInside; |
|
sail
2013/06/05 20:06:22
nonatomic, assign?
Robert Sesek
2013/06/05 20:23:21
Done.
|
| +@property(nonatomic, readonly) HoverState hoverState; |
| -// Enables or disables the tracking for the button. |
| +// Enables or disables the hover tracking for the button. |
| - (void)setTrackingEnabled:(BOOL)enabled; |
| // Checks to see whether the mouse is in the button's bounds and update |