Chromium Code Reviews| Index: chrome/browser/ui/cocoa/hover_button.h |
| diff --git a/chrome/browser/ui/cocoa/hover_button.h b/chrome/browser/ui/cocoa/hover_button.h |
| index 022c12073bd98a69c1917a5d2e1e923877302f69..2ddbc9fd1ebf49ea671e93c122bcc2c17d9d79e8 100644 |
| --- a/chrome/browser/ui/cocoa/hover_button.h |
| +++ b/chrome/browser/ui/cocoa/hover_button.h |
| @@ -6,6 +6,8 @@ |
| #include "base/memory/scoped_nsobject.h" |
| +@class CrTrackingArea; |
| + |
| // A button that changes when you hover over it and click it. |
| @interface HoverButton : NSButton { |
| @protected |
| @@ -21,10 +23,12 @@ |
| @private |
| // Tracking area for button mouseover states. |
| - scoped_nsobject<NSTrackingArea> trackingArea_; |
| + scoped_nsobject<CrTrackingArea> trackingArea_; |
|
Robert Sesek
2011/07/12 18:11:40
You may want to use ScopedCrTracingArea.
dmac
2011/07/12 19:04:42
Done.
|
| } |
| -// Enables or disables the |NSTrackingRect|s for the button. |
| +@property (nonatomic) HoverState hoverState; |
|
Robert Sesek
2011/07/12 18:11:40
nit: no space before (
dmac
2011/07/12 19:04:42
Done.
|
| + |
| +// Enables or disables the tracking for the button. |
| - (void)setTrackingEnabled:(BOOL)enabled; |
| // Checks to see whether the mouse is in the button's bounds and update |