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

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

Issue 2906009: Remove fields that are unused and reference classes that do not exist. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Update comment 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/throbber_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 @class GTMWindowSheetController; 35 @class GTMWindowSheetController;
36 @class IncognitoImageView; 36 @class IncognitoImageView;
37 @class InfoBarContainerController; 37 @class InfoBarContainerController;
38 class LocationBar; 38 class LocationBar;
39 class StatusBubbleMac; 39 class StatusBubbleMac;
40 class TabContents; 40 class TabContents;
41 @class TabStripController; 41 @class TabStripController;
42 class TabStripModelObserverBridge; 42 class TabStripModelObserverBridge;
43 @class TabStripView; 43 @class TabStripView;
44 @class ToolbarController; 44 @class ToolbarController;
45 @class TitlebarController;
46 45
47 46
48 @interface BrowserWindowController : 47 @interface BrowserWindowController :
49 TabWindowController<NSUserInterfaceValidations, 48 TabWindowController<NSUserInterfaceValidations,
50 BookmarkBarControllerDelegate, 49 BookmarkBarControllerDelegate,
51 BrowserCommandExecutor, 50 BrowserCommandExecutor,
52 ViewResizer> { 51 ViewResizer> {
53 @private 52 @private
54 // 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
55 // 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
56 // 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
57 // (tab/toolbar/bookmark models, profiles, etc). 56 // (tab/toolbar/bookmark models, profiles, etc).
58 scoped_ptr<Browser> browser_; 57 scoped_ptr<Browser> browser_;
59 NSWindow* savedRegularWindow_; 58 NSWindow* savedRegularWindow_;
60 scoped_ptr<TabStripModelObserverBridge> tabObserver_; 59 scoped_ptr<TabStripModelObserverBridge> tabObserver_;
61 scoped_ptr<BrowserWindowCocoa> windowShim_; 60 scoped_ptr<BrowserWindowCocoa> windowShim_;
62 scoped_nsobject<ToolbarController> toolbarController_; 61 scoped_nsobject<ToolbarController> toolbarController_;
63 scoped_nsobject<TitlebarController> titlebarController_;
64 scoped_nsobject<TabStripController> tabStripController_; 62 scoped_nsobject<TabStripController> tabStripController_;
65 scoped_nsobject<FindBarCocoaController> findBarCocoaController_; 63 scoped_nsobject<FindBarCocoaController> findBarCocoaController_;
66 scoped_nsobject<InfoBarContainerController> infoBarContainerController_; 64 scoped_nsobject<InfoBarContainerController> infoBarContainerController_;
67 scoped_nsobject<DownloadShelfController> downloadShelfController_; 65 scoped_nsobject<DownloadShelfController> downloadShelfController_;
68 scoped_nsobject<BookmarkBarController> bookmarkBarController_; 66 scoped_nsobject<BookmarkBarController> bookmarkBarController_;
69 scoped_nsobject<FullscreenController> fullscreenController_; 67 scoped_nsobject<FullscreenController> fullscreenController_;
70 68
71 // Strong. StatusBubble is a special case of a strong reference that 69 // Strong. StatusBubble is a special case of a strong reference that
72 // we don't wrap in a scoped_ptr because it is acting the same 70 // we don't wrap in a scoped_ptr because it is acting the same
73 // as an NSWindowController in that it wraps a window that must 71 // as an NSWindowController in that it wraps a window that must
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 - (NSWindow*)createFullscreenWindow; 370 - (NSWindow*)createFullscreenWindow;
373 371
374 // Resets any saved state about window growth (due to showing the bookmark bar 372 // Resets any saved state about window growth (due to showing the bookmark bar
375 // or the download shelf), so that future shrinking will occur from the bottom. 373 // or the download shelf), so that future shrinking will occur from the bottom.
376 - (void)resetWindowGrowthState; 374 - (void)resetWindowGrowthState;
377 375
378 @end // @interface BrowserWindowController(TestingAPI) 376 @end // @interface BrowserWindowController(TestingAPI)
379 377
380 378
381 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 379 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/throbber_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698