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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 - (void)setTrackingEnabled:(BOOL)enabled; | 100 - (void)setTrackingEnabled:(BOOL)enabled; |
101 | 101 |
102 // Begin showing an "alert" glow (shown to call attention to an unselected | 102 // Begin showing an "alert" glow (shown to call attention to an unselected |
103 // pinned tab whose title changed). | 103 // pinned tab whose title changed). |
104 - (void)startAlert; | 104 - (void)startAlert; |
105 | 105 |
106 // Stop showing the "alert" glow; this won't immediately wipe out any glow, but | 106 // Stop showing the "alert" glow; this won't immediately wipe out any glow, but |
107 // will make it fade away. | 107 // will make it fade away. |
108 - (void)cancelAlert; | 108 - (void)cancelAlert; |
109 | 109 |
| 110 // Returns if the mouse cursor is currently over the view. |
| 111 - (BOOL)isMouseInside; |
| 112 |
110 @end | 113 @end |
111 | 114 |
112 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ | 115 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ |
OLD | NEW |