| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TABS_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 @class TabContentsController; | 21 @class TabContentsController; |
| 22 @class TabView; | 22 @class TabView; |
| 23 @class TabStripDragController; | 23 @class TabStripDragController; |
| 24 @class TabStripView; | 24 @class TabStripView; |
| 25 | 25 |
| 26 class Browser; | 26 class Browser; |
| 27 class ConstrainedWindowMac; | 27 class ConstrainedWindowMac; |
| 28 class TabStripModelObserverBridge; | 28 class TabStripModelObserverBridge; |
| 29 class TabStripModel; | 29 class TabStripModel; |
| 30 class TabContents; | 30 class TabContents; |
| 31 class ToolbarModel; | |
| 32 | 31 |
| 33 // The interface for the tab strip controller's delegate. | 32 // The interface for the tab strip controller's delegate. |
| 34 // Delegating TabStripModelObserverBridge's events (in lieu of directly | 33 // Delegating TabStripModelObserverBridge's events (in lieu of directly |
| 35 // subscribing to TabStripModelObserverBridge events, as TabStripController | 34 // subscribing to TabStripModelObserverBridge events, as TabStripController |
| 36 // does) is necessary to guarantee a proper order of subviews layout updates, | 35 // does) is necessary to guarantee a proper order of subviews layout updates, |
| 37 // otherwise it might trigger unnesessary content relayout, UI flickering etc. | 36 // otherwise it might trigger unnesessary content relayout, UI flickering etc. |
| 38 @protocol TabStripControllerDelegate | 37 @protocol TabStripControllerDelegate |
| 39 | 38 |
| 40 // Stripped down version of TabStripModelObserverBridge:selectTabWithContents. | 39 // Stripped down version of TabStripModelObserverBridge:selectTabWithContents. |
| 41 - (void)onActivateTabWithContents:(TabContents*)contents; | 40 - (void)onActivateTabWithContents:(TabContents*)contents; |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; | 261 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; |
| 263 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; | 262 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; |
| 264 | 263 |
| 265 @end | 264 @end |
| 266 | 265 |
| 267 // Notification sent when the number of tabs changes. The object will be this | 266 // Notification sent when the number of tabs changes. The object will be this |
| 268 // controller. | 267 // controller. |
| 269 extern NSString* const kTabStripNumberOfTabsChanged; | 268 extern NSString* const kTabStripNumberOfTabsChanged; |
| 270 | 269 |
| 271 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 270 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |