| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COCOA_TAB_VIEW_H_ | 5 #ifndef CHROME_BROWSER_COCOA_TAB_VIEW_H_ |
| 6 #define CHROME_BROWSER_COCOA_TAB_VIEW_H_ | 6 #define CHROME_BROWSER_COCOA_TAB_VIEW_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/scoped_nsobject.h" | 10 #include "base/scoped_nsobject.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 NSWindow* dragWindow_; // weak. The window being dragged | 52 NSWindow* dragWindow_; // weak. The window being dragged |
| 53 NSWindow* dragOverlay_; // weak. The overlay being dragged | 53 NSWindow* dragOverlay_; // weak. The overlay being dragged |
| 54 | 54 |
| 55 TabWindowController* targetController_; // weak. Controller being targeted | 55 TabWindowController* targetController_; // weak. Controller being targeted |
| 56 NSCellStateValue state_; | 56 NSCellStateValue state_; |
| 57 } | 57 } |
| 58 @property(assign) NSCellStateValue state; | 58 @property(assign) NSCellStateValue state; |
| 59 @property(assign, nonatomic) CGFloat hoverAlpha; | 59 @property(assign, nonatomic) CGFloat hoverAlpha; |
| 60 | 60 |
| 61 // Determines if the tab is in the process of animating closed. It may still | 61 // Determines if the tab is in the process of animating closed. It may still |
| 62 // be visible on-screen, but should not respond to/initiate any events. | 62 // be visible on-screen, but should not respond to/initiate any events. Upon |
| 63 // setting to NO, clears the target/action of the close button to prevent |
| 64 // clicks inside it from sending messages. |
| 63 @property(assign, nonatomic) BOOL isClosing; | 65 @property(assign, nonatomic) BOOL isClosing; |
| 64 | 66 |
| 65 // Enables/Disables tracking regions for the tab. | 67 // Enables/Disables tracking regions for the tab. |
| 66 - (void)setTrackingEnabled:(BOOL)enabled; | 68 - (void)setTrackingEnabled:(BOOL)enabled; |
| 67 | 69 |
| 68 @end | 70 @end |
| 69 | 71 |
| 70 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ | 72 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ |
| OLD | NEW |