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

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

Issue 2976008: Bar (Closed)
Patch Set: '' Created 10 years, 4 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 #pragma once 7 #pragma once
8 8
9 // A class acting as the Objective-C controller for the Browser 9 // A class acting as the Objective-C controller for the Browser
10 // object. Handles interactions between Cocoa and the cross-platform 10 // object. Handles interactions between Cocoa and the cross-platform
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class TabStripModelObserverBridge; 43 class TabStripModelObserverBridge;
44 @class TabStripView; 44 @class TabStripView;
45 @class ToolbarController; 45 @class ToolbarController;
46 46
47 47
48 @interface BrowserWindowController : 48 @interface BrowserWindowController :
49 TabWindowController<NSUserInterfaceValidations, 49 TabWindowController<NSUserInterfaceValidations,
50 BookmarkBarControllerDelegate, 50 BookmarkBarControllerDelegate,
51 BrowserCommandExecutor, 51 BrowserCommandExecutor,
52 ViewResizer> { 52 ViewResizer> {
53 @private 53 @public // FIXME
54 // The ordering of these members is important as it determines the order in 54 // The ordering of these members is important as it determines the order in
55 // which they are destroyed. |browser_| needs to be destroyed last as most of 55 // which they are destroyed. |browser_| needs to be destroyed last as most of
56 // the other objects hold weak references to it or things it owns 56 // the other objects hold weak references to it or things it owns
57 // (tab/toolbar/bookmark models, profiles, etc). 57 // (tab/toolbar/bookmark models, profiles, etc).
58 scoped_ptr<Browser> browser_; 58 scoped_ptr<Browser> browser_;
59 NSWindow* savedRegularWindow_; 59 NSWindow* savedRegularWindow_;
60 scoped_ptr<TabStripModelObserverBridge> tabObserver_; 60 scoped_ptr<TabStripModelObserverBridge> tabObserver_;
61 scoped_ptr<BrowserWindowCocoa> windowShim_; 61 scoped_ptr<BrowserWindowCocoa> windowShim_;
62 scoped_nsobject<ToolbarController> toolbarController_; 62 scoped_nsobject<ToolbarController> toolbarController_;
63 scoped_nsobject<TabStripController> tabStripController_; 63 scoped_nsobject<TabStripController> tabStripController_;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 - (NSWindow*)createFullscreenWindow; 367 - (NSWindow*)createFullscreenWindow;
368 368
369 // Resets any saved state about window growth (due to showing the bookmark bar 369 // Resets any saved state about window growth (due to showing the bookmark bar
370 // or the download shelf), so that future shrinking will occur from the bottom. 370 // or the download shelf), so that future shrinking will occur from the bottom.
371 - (void)resetWindowGrowthState; 371 - (void)resetWindowGrowthState;
372 372
373 @end // @interface BrowserWindowController(TestingAPI) 373 @end // @interface BrowserWindowController(TestingAPI)
374 374
375 375
376 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 376 #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