OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_WINDOW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TAB_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_WINDOW_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // A class acting as the Objective-C window controller for a window that has | 9 // A class acting as the Objective-C window controller for a window that has |
10 // tabs which can be dragged around. Tabs can be re-arranged within the same | 10 // tabs which can be dragged around. Tabs can be re-arranged within the same |
11 // window or dragged into other TabWindowController windows. This class doesn't | 11 // window or dragged into other TabWindowController windows. This class doesn't |
12 // know anything about the actual tab implementation or model, as that is fairly | 12 // know anything about the actual tab implementation or model, as that is fairly |
13 // application-specific. It only provides an API to be overridden by subclasses | 13 // application-specific. It only provides an API to be overridden by subclasses |
14 // to fill in the details. | 14 // to fill in the details. |
15 // | 15 // |
16 // This assumes that there will be a view in the nib, connected to | 16 // This assumes that there will be a view in the nib, connected to |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 // Toggles from one display mode of the tab strip to another. Will automatically | 171 // Toggles from one display mode of the tab strip to another. Will automatically |
172 // call -layoutSubviews to reposition other content. | 172 // call -layoutSubviews to reposition other content. |
173 - (void)toggleTabStripDisplayMode; | 173 - (void)toggleTabStripDisplayMode; |
174 | 174 |
175 // Called when the size of the window content area has changed. Override to | 175 // Called when the size of the window content area has changed. Override to |
176 // position specific views. Base class implementation does nothing. | 176 // position specific views. Base class implementation does nothing. |
177 - (void)layoutSubviews; | 177 - (void)layoutSubviews; |
178 @end | 178 @end |
179 | 179 |
180 #endif // CHROME_BROWSER_UI_COCOA_TAB_WINDOW_CONTROLLER_H_ | 180 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_WINDOW_CONTROLLER_H_ |
OLD | NEW |