| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 |
| 11 #include "base/memory/scoped_nsobject.h" | 11 #include "base/memory/scoped_nsobject.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h" | 13 #import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h" |
| 14 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 14 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
| 15 #include "chrome/browser/ui/tabs/hover_tab_selector.h" | 15 #include "chrome/browser/ui/tabs/hover_tab_selector.h" |
| 16 #import "third_party/GTM/AppKit/GTMWindowSheetController.h" | 16 #import "third_party/GTM/AppKit/GTMWindowSheetController.h" |
| 17 | 17 |
| 18 @class CrTrackingArea; | 18 @class CrTrackingArea; |
| 19 @class NewTabButton; | 19 @class NewTabButton; |
| 20 @class TabContentsController; | 20 @class TabContentsController; |
| 21 @class TabView; | 21 @class TabView; |
| 22 @class TabStripDragController; | 22 @class TabStripDragController; |
| 23 @class TabStripView; | 23 @class TabStripView; |
| 24 | 24 |
| 25 class Browser; | 25 class Browser; |
| 26 class ConstrainedWindowMac; | 26 class ConstrainedWindowMac; |
| 27 class TabContents; |
| 28 typedef TabContents TabContentsWrapper; |
| 27 class TabStripModelObserverBridge; | 29 class TabStripModelObserverBridge; |
| 28 class TabStripModel; | 30 class TabStripModel; |
| 29 | 31 |
| 30 // The interface for the tab strip controller's delegate. | 32 // The interface for the tab strip controller's delegate. |
| 31 // Delegating TabStripModelObserverBridge's events (in lieu of directly | 33 // Delegating TabStripModelObserverBridge's events (in lieu of directly |
| 32 // subscribing to TabStripModelObserverBridge events, as TabStripController | 34 // subscribing to TabStripModelObserverBridge events, as TabStripController |
| 33 // 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, |
| 34 // otherwise it might trigger unnesessary content relayout, UI flickering etc. | 36 // otherwise it might trigger unnesessary content relayout, UI flickering etc. |
| 35 @protocol TabStripControllerDelegate | 37 @protocol TabStripControllerDelegate |
| 36 | 38 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 - (TabContentsController*)activeTabContentsController; | 256 - (TabContentsController*)activeTabContentsController; |
| 255 | 257 |
| 256 // See comments in browser_window_controller.h for documentation about these | 258 // See comments in browser_window_controller.h for documentation about these |
| 257 // functions. | 259 // functions. |
| 258 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; | 260 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; |
| 259 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; | 261 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; |
| 260 | 262 |
| 261 @end | 263 @end |
| 262 | 264 |
| 263 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 265 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |