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_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ |
6 #define CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 frame:(NSRect)frame | 99 frame:(NSRect)frame |
100 yStretchiness:(CGFloat)yStretchiness; | 100 yStretchiness:(CGFloat)yStretchiness; |
101 | 101 |
102 // Force the tabs to rearrange themselves to reflect the current model | 102 // Force the tabs to rearrange themselves to reflect the current model |
103 - (void)layoutTabs; | 103 - (void)layoutTabs; |
104 | 104 |
105 // Default height for tabs. | 105 // Default height for tabs. |
106 + (CGFloat)defaultTabHeight; | 106 + (CGFloat)defaultTabHeight; |
107 @end | 107 @end |
108 | 108 |
| 109 // Notification sent when the number of tabs changes. The object will be this |
| 110 // controller. |
| 111 extern NSString* const kTabStripNumberOfTabsChanged; |
| 112 |
109 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ | 113 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ |
OLD | NEW |