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

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

Issue 1681463003: Preference for Presentation Mode/Fullscreen Toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 - (void)updateFullscreenWithToolbar:(BOOL)withToolbar; 531 - (void)updateFullscreenWithToolbar:(BOOL)withToolbar;
532 532
533 // Updates the contents of the fullscreen exit bubble with |url| and 533 // Updates the contents of the fullscreen exit bubble with |url| and
534 // |bubbleType|. 534 // |bubbleType|.
535 - (void)updateFullscreenExitBubbleURL:(const GURL&)url 535 - (void)updateFullscreenExitBubbleURL:(const GURL&)url
536 bubbleType:(ExclusiveAccessBubbleType)bubbleType; 536 bubbleType:(ExclusiveAccessBubbleType)bubbleType;
537 537
538 // Toggles and updates the toolbar's visibility in fullscreen mode. This 538 // Toggles and updates the toolbar's visibility in fullscreen mode. This
539 // function toggles between the sliding styles: OMNIBOX_TABS_PRESENT and 539 // function toggles between the sliding styles: OMNIBOX_TABS_PRESENT and
540 // OMNIBOX_TABS_HIDDEN. 540 // OMNIBOX_TABS_HIDDEN.
541 - (void)toggleFullscreenToolbar; 541 - (void)setFullscreenToolbarHidden:(BOOL)isHidden;
542 542
543 // Returns YES if the browser window is in or entering any fullscreen mode. 543 // Returns YES if the browser window is in or entering any fullscreen mode.
544 - (BOOL)isInAnyFullscreenMode; 544 - (BOOL)isInAnyFullscreenMode;
545 545
546 // Returns YES if the browser window is currently in or entering fullscreen via 546 // Returns YES if the browser window is currently in or entering fullscreen via
547 // the built-in immersive mechanism. 547 // the built-in immersive mechanism.
548 - (BOOL)isInImmersiveFullscreen; 548 - (BOOL)isInImmersiveFullscreen;
549 549
550 // Returns YES if the browser window is currently in or entering fullscreen via 550 // Returns YES if the browser window is currently in or entering fullscreen via
551 // the AppKit Fullscreen API. 551 // the AppKit Fullscreen API.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 // Gets the rect, in window base coordinates, that the omnibox popup should be 637 // Gets the rect, in window base coordinates, that the omnibox popup should be
638 // positioned relative to. 638 // positioned relative to.
639 - (NSRect)omniboxPopupAnchorRect; 639 - (NSRect)omniboxPopupAnchorRect;
640 640
641 // Returns the flag |blockLayoutSubviews_|. 641 // Returns the flag |blockLayoutSubviews_|.
642 - (BOOL)isLayoutSubviewsBlocked; 642 - (BOOL)isLayoutSubviewsBlocked;
643 643
644 // Returns the active tab contents controller's |blockFullscreenResize_| flag. 644 // Returns the active tab contents controller's |blockFullscreenResize_| flag.
645 - (BOOL)isActiveTabContentsControllerResizeBlocked; 645 - (BOOL)isActiveTabContentsControllerResizeBlocked;
646 646
647 // Returns the presentation mode controller.
648 - (PresentationModeController*)presentationModeController;
649
647 @end // @interface BrowserWindowController (TestingAPI) 650 @end // @interface BrowserWindowController (TestingAPI)
648 651
649 652
650 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 653 #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