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

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

Issue 565803004: mac: Use immersive fullscreen for html5 style fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from rsesek. Created 6 years, 3 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 - (BOOL)isInAppKitFullscreen; 488 - (BOOL)isInAppKitFullscreen;
489 489
490 // Returns YES if the PresentationModeController exists and hence the omnibox 490 // Returns YES if the PresentationModeController exists and hence the omnibox
491 // and other UI is expected to slide. 491 // and other UI is expected to slide.
492 - (BOOL)isInFullscreenWithOmniboxSliding; 492 - (BOOL)isInFullscreenWithOmniboxSliding;
493 493
494 // Enters (or exits) presentation mode. 494 // Enters (or exits) presentation mode.
495 - (void)enterPresentationModeForURL:(const GURL&)url 495 - (void)enterPresentationModeForURL:(const GURL&)url
496 bubbleType:(FullscreenExitBubbleType)bubbleType; 496 bubbleType:(FullscreenExitBubbleType)bubbleType;
497 497
498 // Tries to use AppKit Fullscreen, falls back to Immersive Fullscreen. 498 // Enters Immersive Fullscreen for the given URL.
499 - (void)enterHTML5FullscreenForURL:(const GURL&)url 499 - (void)enterHTML5FullscreenForURL:(const GURL&)url
500 bubbleType:(FullscreenExitBubbleType)bubbleType; 500 bubbleType:(FullscreenExitBubbleType)bubbleType;
501 501
502 // Exits the current fullscreen mode. 502 // Exits the current fullscreen mode.
503 - (void)exitAnyFullscreen; 503 - (void)exitAnyFullscreen;
504 504
505 // Whether the system is in the very specific fullscreen mode: Presentation 505 // Whether the system is in the very specific fullscreen mode: Presentation
506 // Mode. 506 // Mode.
507 - (BOOL)inPresentationMode; 507 - (BOOL)inPresentationMode;
508 508
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 // positioned relative to. 575 // positioned relative to.
576 - (NSRect)omniboxPopupAnchorRect; 576 - (NSRect)omniboxPopupAnchorRect;
577 577
578 // Force a layout of info bars. 578 // Force a layout of info bars.
579 - (void)layoutInfoBars; 579 - (void)layoutInfoBars;
580 580
581 @end // @interface BrowserWindowController (TestingAPI) 581 @end // @interface BrowserWindowController (TestingAPI)
582 582
583 583
584 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 584 #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