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

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

Issue 2053343003: [Mac] Fix Issue to Exit Fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 6 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_private.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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 BOOL enteringAppKitFullscreenOnPrimaryScreen_; 160 BOOL enteringAppKitFullscreenOnPrimaryScreen_;
161 161
162 // This flag is set to true when |customWindowsToEnterFullScreenForWindow:| 162 // This flag is set to true when |customWindowsToEnterFullScreenForWindow:|
163 // and |customWindowsToExitFullScreenForWindow:| are called and did not 163 // and |customWindowsToExitFullScreenForWindow:| are called and did not
164 // return nil. 164 // return nil.
165 BOOL isUsingCustomAnimation_; 165 BOOL isUsingCustomAnimation_;
166 166
167 // True if the toolbar needs to be shown in fullscreen. 167 // True if the toolbar needs to be shown in fullscreen.
168 BOOL shouldShowFullscreenToolbar_; 168 BOOL shouldShowFullscreenToolbar_;
169 169
170 // True if a call to exit AppKit fullscreen was made during the transition to
171 // fullscreen.
172 BOOL shouldExitAfterEnteringFullscreen_;
173
170 // True if AppKit has finished exiting fullscreen before the exit animation 174 // True if AppKit has finished exiting fullscreen before the exit animation
171 // is completed. This flag is used to ensure that |windowDidExitFullscreen| 175 // is completed. This flag is used to ensure that |windowDidExitFullscreen|
172 // is called after the exit fullscreen animation is complete. 176 // is called after the exit fullscreen animation is complete.
173 BOOL appKitDidExitFullscreen_; 177 BOOL appKitDidExitFullscreen_;
174 178
175 // The size of the original (non-fullscreen) window. This is saved just 179 // The size of the original (non-fullscreen) window. This is saved just
176 // before entering fullscreen mode and is only valid when |-isFullscreen| 180 // before entering fullscreen mode and is only valid when |-isFullscreen|
177 // returns YES. 181 // returns YES.
178 NSRect savedRegularWindowFrame_; 182 NSRect savedRegularWindowFrame_;
179 183
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 // Returns the active tab contents controller's |blockFullscreenResize_| flag. 660 // Returns the active tab contents controller's |blockFullscreenResize_| flag.
657 - (BOOL)isActiveTabContentsControllerResizeBlocked; 661 - (BOOL)isActiveTabContentsControllerResizeBlocked;
658 662
659 // Returns the presentation mode controller. 663 // Returns the presentation mode controller.
660 - (PresentationModeController*)presentationModeController; 664 - (PresentationModeController*)presentationModeController;
661 665
662 @end // @interface BrowserWindowController (TestingAPI) 666 @end // @interface BrowserWindowController (TestingAPI)
663 667
664 668
665 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 669 #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_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698