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

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

Issue 607603003: Mac: Minor fullscreen adjustments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix presentation mode unit test. Created 6 years, 2 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 - (BOOL)isInAnyFullscreenMode; 508 - (BOOL)isInAnyFullscreenMode;
509 509
510 // Returns YES if the browser window is currently in or entering fullscreen via 510 // Returns YES if the browser window is currently in or entering fullscreen via
511 // the built-in immersive mechanism. 511 // the built-in immersive mechanism.
512 - (BOOL)isInImmersiveFullscreen; 512 - (BOOL)isInImmersiveFullscreen;
513 513
514 // Returns YES if the browser window is currently in or entering fullscreen via 514 // Returns YES if the browser window is currently in or entering fullscreen via
515 // the AppKit Fullscreen API. 515 // the AppKit Fullscreen API.
516 - (BOOL)isInAppKitFullscreen; 516 - (BOOL)isInAppKitFullscreen;
517 517
518 // Returns YES if the PresentationModeController exists and hence the omnibox
519 // and other UI is expected to slide.
520 - (BOOL)isInFullscreenWithOmniboxSliding;
521
522 // Enters presentation mode. 518 // Enters presentation mode.
523 - (void)enterPresentationMode; 519 - (void)enterPresentationMode;
524 520
525 // Enter fullscreen for an extension. 521 // Enter fullscreen for an extension.
526 - (void)enterExtensionFullscreenForURL:(const GURL&)url 522 - (void)enterExtensionFullscreenForURL:(const GURL&)url
527 bubbleType:(FullscreenExitBubbleType)bubbleType; 523 bubbleType:(FullscreenExitBubbleType)bubbleType;
528 524
529 // Enters Immersive Fullscreen for the given URL. 525 // Enters Immersive Fullscreen for the given URL.
530 - (void)enterWebContentFullscreenForURL:(const GURL&)url 526 - (void)enterWebContentFullscreenForURL:(const GURL&)url
531 bubbleType:(FullscreenExitBubbleType)bubbleType; 527 bubbleType:(FullscreenExitBubbleType)bubbleType;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 // positioned relative to. 602 // positioned relative to.
607 - (NSRect)omniboxPopupAnchorRect; 603 - (NSRect)omniboxPopupAnchorRect;
608 604
609 // Force a layout of info bars. 605 // Force a layout of info bars.
610 - (void)layoutInfoBars; 606 - (void)layoutInfoBars;
611 607
612 @end // @interface BrowserWindowController (TestingAPI) 608 @end // @interface BrowserWindowController (TestingAPI)
613 609
614 610
615 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 611 #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