| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_ | 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #import "ui/base/cocoa/tracking_area.h" | 10 #import "ui/base/cocoa/tracking_area.h" |
| 11 | 11 |
| 12 namespace constrained_window_button { | 12 namespace constrained_window_button { |
| 13 const CGFloat kButtonMinWidth = 72; | 13 const CGFloat kButtonMinWidth = 72; |
| 14 } | 14 } |
| 15 | 15 |
| 16 @protocol ConstrainedWindowButtonDrawableCell | 16 @protocol ConstrainedWindowButtonDrawableCell |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // A button cell used by ConstrainedWindowButton. | 50 // A button cell used by ConstrainedWindowButton. |
| 51 @interface ConstrainedWindowButtonCell : | 51 @interface ConstrainedWindowButtonCell : |
| 52 NSButtonCell<ConstrainedWindowButtonDrawableCell> { | 52 NSButtonCell<ConstrainedWindowButtonDrawableCell> { |
| 53 @private | 53 @private |
| 54 BOOL isMouseInside_; | 54 BOOL isMouseInside_; |
| 55 } | 55 } |
| 56 | 56 |
| 57 @end | 57 @end |
| 58 | 58 |
| 59 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_ | 59 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_BUTTON_
H_ |
| OLD | NEW |