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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.mm

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index 45ec95fdb3a36e2556468c858dbac700ba39201a..1d548abb7e854aa747db1983d5505c58c83314a1 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -2097,13 +2097,9 @@ willAnimateFromState:(BookmarkBar::State)oldState
- (void)enterHTML5FullscreenForURL:(const GURL&)url
bubbleType:(FullscreenExitBubbleType)bubbleType {
- if (!chrome::mac::SupportsSystemFullscreen()) {
- [self enterImmersiveFullscreen];
- if (!url.is_empty())
- [self updateFullscreenExitBubbleURL:url bubbleType:bubbleType];
- } else {
- [self enterPresentationModeForURL:url bubbleType:bubbleType];
- }
+ [self enterImmersiveFullscreen];
+ if (!url.is_empty())
+ [self updateFullscreenExitBubbleURL:url bubbleType:bubbleType];
}
- (void)exitAnyFullscreen {
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698