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

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

Issue 1990163003: Mac fullscreen low power: Add layout interactions and flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add nil check for tests Created 4 years, 7 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/ui/cocoa/browser_window_controller.mm » ('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) 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_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_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 26 matching lines...) Expand all
37 class BrowserWindowCocoa; 37 class BrowserWindowCocoa;
38 @class BrowserWindowFullscreenTransition; 38 @class BrowserWindowFullscreenTransition;
39 @class DevToolsController; 39 @class DevToolsController;
40 @class DownloadShelfController; 40 @class DownloadShelfController;
41 class ExtensionKeybindingRegistryCocoa; 41 class ExtensionKeybindingRegistryCocoa;
42 class ExclusiveAccessController; 42 class ExclusiveAccessController;
43 class ExclusiveAccessContext; 43 class ExclusiveAccessContext;
44 @class FindBarCocoaController; 44 @class FindBarCocoaController;
45 @class FullscreenModeController; 45 @class FullscreenModeController;
46 @class FullscreenWindow; 46 @class FullscreenWindow;
47 class FullscreenLowPowerCoordinatorCocoa;
47 @class InfoBarContainerController; 48 @class InfoBarContainerController;
48 class LocationBarViewMac; 49 class LocationBarViewMac;
49 @class OverlayableContentsController; 50 @class OverlayableContentsController;
50 class PermissionBubbleCocoa; 51 class PermissionBubbleCocoa;
51 @class PresentationModeController; 52 @class PresentationModeController;
52 class StatusBubbleMac; 53 class StatusBubbleMac;
53 @class TabStripController; 54 @class TabStripController;
54 @class TabStripView; 55 @class TabStripView;
55 @class ToolbarController; 56 @class ToolbarController;
56 @class TranslateBubbleController; 57 @class TranslateBubbleController;
(...skipping 24 matching lines...) Expand all
81 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_; 82 base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_;
82 base::scoped_nsobject<DownloadShelfController> downloadShelfController_; 83 base::scoped_nsobject<DownloadShelfController> downloadShelfController_;
83 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_; 84 base::scoped_nsobject<BookmarkBarController> bookmarkBarController_;
84 base::scoped_nsobject<DevToolsController> devToolsController_; 85 base::scoped_nsobject<DevToolsController> devToolsController_;
85 base::scoped_nsobject<OverlayableContentsController> 86 base::scoped_nsobject<OverlayableContentsController>
86 overlayableContentsController_; 87 overlayableContentsController_;
87 base::scoped_nsobject<PresentationModeController> presentationModeController_; 88 base::scoped_nsobject<PresentationModeController> presentationModeController_;
88 std::unique_ptr<ExclusiveAccessController> exclusiveAccessController_; 89 std::unique_ptr<ExclusiveAccessController> exclusiveAccessController_;
89 base::scoped_nsobject<BrowserWindowFullscreenTransition> 90 base::scoped_nsobject<BrowserWindowFullscreenTransition>
90 fullscreenTransition_; 91 fullscreenTransition_;
92 std::unique_ptr<FullscreenLowPowerCoordinatorCocoa>
93 fullscreenLowPowerCoordinator_;
91 94
92 // Strong. StatusBubble is a special case of a strong reference that 95 // Strong. StatusBubble is a special case of a strong reference that
93 // we don't wrap in a scoped_ptr because it is acting the same 96 // we don't wrap in a scoped_ptr because it is acting the same
94 // as an NSWindowController in that it wraps a window that must 97 // as an NSWindowController in that it wraps a window that must
95 // be shut down before our destructors are called. 98 // be shut down before our destructors are called.
96 StatusBubbleMac* statusBubble_; 99 StatusBubbleMac* statusBubble_;
97 100
98 std::unique_ptr<BookmarkBubbleObserverCocoa> bookmarkBubbleObserver_; 101 std::unique_ptr<BookmarkBubbleObserverCocoa> bookmarkBubbleObserver_;
99 BookmarkBubbleController* bookmarkBubbleController_; // Weak. 102 BookmarkBubbleController* bookmarkBubbleController_; // Weak.
100 BOOL initializing_; // YES while we are currently in initWithBrowser: 103 BOOL initializing_; // YES while we are currently in initWithBrowser:
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 // Returns the active tab contents controller's |blockFullscreenResize_| flag. 657 // Returns the active tab contents controller's |blockFullscreenResize_| flag.
655 - (BOOL)isActiveTabContentsControllerResizeBlocked; 658 - (BOOL)isActiveTabContentsControllerResizeBlocked;
656 659
657 // Returns the presentation mode controller. 660 // Returns the presentation mode controller.
658 - (PresentationModeController*)presentationModeController; 661 - (PresentationModeController*)presentationModeController;
659 662
660 @end // @interface BrowserWindowController (TestingAPI) 663 @end // @interface BrowserWindowController (TestingAPI)
661 664
662 665
663 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 666 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698