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

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

Issue 2688413012: Don't animate the download shelf when entering/exiting fullscreen. (Closed)
Patch Set: Turn on animation for all tests except the one that was flaky due to animation. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/download/download_shelf_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f084fb039ddfc634afb1cc0415d6dd245e856c66..03216863ed3c72e7418b1d4dcbf398584a8e4f4f 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -610,6 +610,7 @@ willPositionSheet:(NSWindow*)sheet
[self setSheetHiddenForFullscreenTransition:YES];
[self adjustUIForEnteringFullscreen];
+ browser_->WindowFullscreenStateWillChange();
}
- (void)windowDidEnterFullScreen:(NSNotification*)notification {
@@ -700,6 +701,7 @@ willPositionSheet:(NSWindow*)sheet
} else {
[self adjustUIForExitingFullscreen];
}
+ browser_->WindowFullscreenStateWillChange();
}
- (void)windowDidExitFullScreen:(NSNotification*)notification {
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/download/download_shelf_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698