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

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

Issue 7599029: Grab bag of bugfixes for Lion fullscreen mode. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add comment for InstantLoader. Created 9 years, 4 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
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 d7b2c848d4f58ef27ed3f87904fcc9b07a1c794a..ab11521348d85d35ed3ae6365d37bb7815df2d98 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -843,6 +843,9 @@ willPositionSheet:(NSWindow*)sheet
- (void)windowDidExitFullScreen:(NSNotification*)notification {
[self deregisterForContentViewResizeNotifications];
+
+ // Force a relayout to try and get the window back into a reasonable state.
+ [self layoutSubviews];
Avi (use Gerrit) 2011/08/09 16:36:07 Your CL description says "Force a relayout in wind
rohitrao (ping after 24h) 2011/08/09 16:46:23 I am in a maze of twisty little delegate methods,
}
- (void)windowDidFailToEnterFullScreen:(NSWindow*)window {

Powered by Google App Engine
This is Rietveld 408576698