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

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

Issue 2080793002: [Mac] Fix Toolbar glimpse during fullscreen transition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: 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.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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 // Called to check if this controller's window is a tabbed window (e.g., not a 429 // Called to check if this controller's window is a tabbed window (e.g., not a
430 // pop-up window). Returns YES if it is, NO otherwise. 430 // pop-up window). Returns YES if it is, NO otherwise.
431 // Note: The |-has...| methods are usually preferred, so this method is largely 431 // Note: The |-has...| methods are usually preferred, so this method is largely
432 // deprecated. 432 // deprecated.
433 - (BOOL)isTabbedWindow; 433 - (BOOL)isTabbedWindow;
434 434
435 // Returns the size of the original (non-fullscreen) window. 435 // Returns the size of the original (non-fullscreen) window.
436 - (NSRect)savedRegularWindowFrame; 436 - (NSRect)savedRegularWindowFrame;
437 437
438 // Returns true if the browser is in the process of entering/exiting
439 // fullscreen.
440 - (BOOL)isFullscreenTransitionInProgress;
441
438 @end // @interface BrowserWindowController(WindowType) 442 @end // @interface BrowserWindowController(WindowType)
439 443
440 // Fullscreen terminology: 444 // Fullscreen terminology:
441 // 445 //
442 // ---------------------------------------------------------------------------- 446 // ----------------------------------------------------------------------------
443 // There are 2 APIs that cause the window to get resized, and possibly move 447 // There are 2 APIs that cause the window to get resized, and possibly move
444 // spaces. 448 // spaces.
445 // 449 //
446 // + AppKitFullscreen API: AppKit touts a feature known as "fullscreen". This 450 // + AppKitFullscreen API: AppKit touts a feature known as "fullscreen". This
447 // involves moving the current window to a different space, and resizing the 451 // involves moving the current window to a different space, and resizing the
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 // Returns the active tab contents controller's |blockFullscreenResize_| flag. 658 // Returns the active tab contents controller's |blockFullscreenResize_| flag.
655 - (BOOL)isActiveTabContentsControllerResizeBlocked; 659 - (BOOL)isActiveTabContentsControllerResizeBlocked;
656 660
657 // Returns the presentation mode controller. 661 // Returns the presentation mode controller.
658 - (PresentationModeController*)presentationModeController; 662 - (PresentationModeController*)presentationModeController;
659 663
660 @end // @interface BrowserWindowController (TestingAPI) 664 @end // @interface BrowserWindowController (TestingAPI)
661 665
662 666
663 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 667 #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