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

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

Issue 1650713003: Preference for Presentation Mode/Fullscreen Toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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) 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // window must be in immersive or AppKit Fullscreen. 524 // window must be in immersive or AppKit Fullscreen.
525 - (void)updateFullscreenWithToolbar:(BOOL)withToolbar; 525 - (void)updateFullscreenWithToolbar:(BOOL)withToolbar;
526 526
527 // Updates the contents of the fullscreen exit bubble with |url| and 527 // Updates the contents of the fullscreen exit bubble with |url| and
528 // |bubbleType|. 528 // |bubbleType|.
529 - (void)updateFullscreenExitBubble; 529 - (void)updateFullscreenExitBubble;
530 530
531 // Toggles and updates the toolbar's visibility in fullscreen mode. This 531 // Toggles and updates the toolbar's visibility in fullscreen mode. This
532 // function toggles between the sliding styles: OMNIBOX_TABS_PRESENT and 532 // function toggles between the sliding styles: OMNIBOX_TABS_PRESENT and
533 // OMNIBOX_TABS_HIDDEN. 533 // OMNIBOX_TABS_HIDDEN.
534 - (void)toggleFullscreenToolbar; 534 - (void)setFullscreenToolbarHidden:(BOOL)isHidden;
535 535
536 // Returns YES if the browser window is in or entering any fullscreen mode. 536 // Returns YES if the browser window is in or entering any fullscreen mode.
537 - (BOOL)isInAnyFullscreenMode; 537 - (BOOL)isInAnyFullscreenMode;
538 538
539 // Returns YES if the browser window is currently in or entering fullscreen via 539 // Returns YES if the browser window is currently in or entering fullscreen via
540 // the built-in immersive mechanism. 540 // the built-in immersive mechanism.
541 - (BOOL)isInImmersiveFullscreen; 541 - (BOOL)isInImmersiveFullscreen;
542 542
543 // Returns YES if the browser window is currently in or entering fullscreen via 543 // Returns YES if the browser window is currently in or entering fullscreen via
544 // the AppKit Fullscreen API. 544 // the AppKit Fullscreen API.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 // Gets the rect, in window base coordinates, that the omnibox popup should be 628 // Gets the rect, in window base coordinates, that the omnibox popup should be
629 // positioned relative to. 629 // positioned relative to.
630 - (NSRect)omniboxPopupAnchorRect; 630 - (NSRect)omniboxPopupAnchorRect;
631 631
632 // Returns the flag |blockLayoutSubviews_|. 632 // Returns the flag |blockLayoutSubviews_|.
633 - (BOOL)isLayoutSubviewsBlocked; 633 - (BOOL)isLayoutSubviewsBlocked;
634 634
635 // Returns the active tab contents controller's |blockFullscreenResize_| flag. 635 // Returns the active tab contents controller's |blockFullscreenResize_| flag.
636 - (BOOL)isActiveTabContentsControllerResizeBlocked; 636 - (BOOL)isActiveTabContentsControllerResizeBlocked;
637 637
638 // Returns the presentation mode controller.
639 - (PresentationModeController*)presentationModeController;
640
638 @end // @interface BrowserWindowController (TestingAPI) 641 @end // @interface BrowserWindowController (TestingAPI)
639 642
640 643
641 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 644 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_command_handler.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698