Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/browser/cocoa/tab_strip_controller.h

Issue 2976008: Bar (Closed)
Patch Set: rebase Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_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 21 matching lines...) Expand all
32 // For a full description of the design, see 32 // For a full description of the design, see
33 // http://www.chromium.org/developers/design-documents/tab-strip-mac 33 // http://www.chromium.org/developers/design-documents/tab-strip-mac
34 @interface TabStripController : 34 @interface TabStripController :
35 NSObject<TabControllerTarget, 35 NSObject<TabControllerTarget,
36 URLDropTargetController, 36 URLDropTargetController,
37 GTMWindowSheetControllerDelegate> { 37 GTMWindowSheetControllerDelegate> {
38 @protected 38 @protected
39 // YES if tabs are to be laid out vertically instead of horizontally. 39 // YES if tabs are to be laid out vertically instead of horizontally.
40 BOOL verticalLayout_; 40 BOOL verticalLayout_;
41 41
42 @private 42 @public // FIXME
43 TabContents* currentTab_; // weak, tab for which we're showing state 43 TabContents* currentTab_; // weak, tab for which we're showing state
44 scoped_nsobject<TabStripView> tabStripView_; 44 scoped_nsobject<TabStripView> tabStripView_;
45 NSView* switchView_; // weak 45 NSView* switchView_; // weak
46 scoped_nsobject<NSView> dragBlockingView_; // avoid bad window server drags 46 scoped_nsobject<NSView> dragBlockingView_; // avoid bad window server drags
47 NSButton* newTabButton_; // weak, obtained from the nib. 47 NSButton* newTabButton_; // weak, obtained from the nib.
48 48
49 // Tracks the newTabButton_ for rollovers. 49 // Tracks the newTabButton_ for rollovers.
50 scoped_nsobject<NSTrackingArea> newTabTrackingArea_; 50 scoped_nsobject<NSTrackingArea> newTabTrackingArea_;
51 scoped_ptr<TabStripModelObserverBridge> bridge_; 51 scoped_ptr<TabStripModelObserverBridge> bridge_;
52 Browser* browser_; // weak 52 Browser* browser_; // weak
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; 213 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
214 - (void)updateDevToolsForContents:(TabContents*)contents; 214 - (void)updateDevToolsForContents:(TabContents*)contents;
215 215
216 @end 216 @end
217 217
218 // Notification sent when the number of tabs changes. The object will be this 218 // Notification sent when the number of tabs changes. The object will be this
219 // controller. 219 // controller.
220 extern NSString* const kTabStripNumberOfTabsChanged; 220 extern NSString* const kTabStripNumberOfTabsChanged;
221 221
222 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ 222 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/tabpose_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698