OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CW_BUTTON_ | |
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CW_BUTTON_ | |
7 | |
8 #import <Cocoa/Cocoa.h> | |
9 | |
10 #import "chrome/browser/ui/cocoa/tracking_area.h" | |
11 | |
12 // A push button for use in a constrained window. | |
13 @interface CWButton : NSButton { | |
14 @private | |
15 ScopedCrTrackingArea trackingArea_; | |
16 } | |
17 | |
18 @end | |
19 | |
20 @interface CWButtonCell : NSButtonCell { | |
21 @private | |
22 BOOL isMouseInside_; | |
23 } | |
24 | |
25 @property(nonatomic,assign) BOOL isMouseInside; | |
26 | |
27 @end | |
28 | |
29 | |
30 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CW_BUTTON_ | |
OLD | NEW |