| Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| index a74f0d7764abc4f6423c9b2c9fc25970127d14df..8be45810dcf09eab2cb01ec12926fb8badc43202 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| @@ -704,6 +704,8 @@ - (void)windowWillEnterFullScreen:(NSNotification*)notification {
|
| }
|
|
|
| - (void)windowDidEnterFullScreen:(NSNotification*)notification {
|
| + [tabStripController_ setVisualEffectsDisabledForFullscreen:YES];
|
| +
|
| // In Yosemite, some combination of the titlebar and toolbar always show in
|
| // full-screen mode. We do not want either to show. Search for the window that
|
| // contains the views, and hide it. There is no need to ever unhide the view.
|
| @@ -765,6 +767,8 @@ - (void)windowDidEnterFullScreen:(NSNotification*)notification {
|
| }
|
|
|
| - (void)windowWillExitFullScreen:(NSNotification*)notification {
|
| + [tabStripController_ setVisualEffectsDisabledForFullscreen:NO];
|
| +
|
| if (notification) // For System Fullscreen when non-nil.
|
| [self registerForContentViewResizeNotifications];
|
| exitingAppKitFullscreen_ = YES;
|
|
|