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

Side by Side Diff: chrome/browser/cocoa/browser_window_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_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 7
8 // A class acting as the Objective-C controller for the Browser 8 // A class acting as the Objective-C controller for the Browser
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single toolbar and, by virtue of being a 10 // code. Each window has a single toolbar and, by virtue of being a
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class TabStripModelObserverBridge; 42 class TabStripModelObserverBridge;
43 @class TabStripView; 43 @class TabStripView;
44 @class ToolbarController; 44 @class ToolbarController;
45 45
46 46
47 @interface BrowserWindowController : 47 @interface BrowserWindowController :
48 TabWindowController<NSUserInterfaceValidations, 48 TabWindowController<NSUserInterfaceValidations,
49 BookmarkBarControllerDelegate, 49 BookmarkBarControllerDelegate,
50 BrowserCommandExecutor, 50 BrowserCommandExecutor,
51 ViewResizer> { 51 ViewResizer> {
52 @private 52 @public // FIXME
53 // The ordering of these members is important as it determines the order in 53 // The ordering of these members is important as it determines the order in
54 // which they are destroyed. |browser_| needs to be destroyed last as most of 54 // which they are destroyed. |browser_| needs to be destroyed last as most of
55 // the other objects hold weak references to it or things it owns 55 // the other objects hold weak references to it or things it owns
56 // (tab/toolbar/bookmark models, profiles, etc). 56 // (tab/toolbar/bookmark models, profiles, etc).
57 scoped_ptr<Browser> browser_; 57 scoped_ptr<Browser> browser_;
58 NSWindow* savedRegularWindow_; 58 NSWindow* savedRegularWindow_;
59 scoped_ptr<TabStripModelObserverBridge> tabObserver_; 59 scoped_ptr<TabStripModelObserverBridge> tabObserver_;
60 scoped_ptr<BrowserWindowCocoa> windowShim_; 60 scoped_ptr<BrowserWindowCocoa> windowShim_;
61 scoped_nsobject<ToolbarController> toolbarController_; 61 scoped_nsobject<ToolbarController> toolbarController_;
62 scoped_nsobject<TabStripController> tabStripController_; 62 scoped_nsobject<TabStripController> tabStripController_;
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 - (NSWindow*)createFullscreenWindow; 363 - (NSWindow*)createFullscreenWindow;
364 364
365 // Resets any saved state about window growth (due to showing the bookmark bar 365 // Resets any saved state about window growth (due to showing the bookmark bar
366 // or the download shelf), so that future shrinking will occur from the bottom. 366 // or the download shelf), so that future shrinking will occur from the bottom.
367 - (void)resetWindowGrowthState; 367 - (void)resetWindowGrowthState;
368 368
369 @end // @interface BrowserWindowController(TestingAPI) 369 @end // @interface BrowserWindowController(TestingAPI)
370 370
371 371
372 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 372 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.h ('k') | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698