summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_window_controller.mm
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 21:05:27 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 21:05:27 +0000
commit31bc8187ef820821983d77a74a26c9c123fb5d46 (patch)
tree10bdd7341b3edf471fe480a50712102107214ae8 /chrome/browser/cocoa/browser_window_controller.mm
parent3a10cfb4090879bf56355b81a15a2324098bfb1a (diff)
downloadchromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.zip
chromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.tar.gz
chromium_src-31bc8187ef820821983d77a74a26c9c123fb5d46.tar.bz2
Mac: fix fullscreen floating bar in popup windows.
BUG=37699 TEST=Make sure the following types of windows look correct in fullscreen mode (in particular, the toolbar/menu should slide down properly and look nice): (1) normal windows (with tab strip), (2) popup windows with location bar, (3) "app" windows such as the dev tools window. Also make sure these things show correctly with themes and the bookmark bar enabled. Review URL: http://codereview.chromium.org/747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
-rw-r--r--chrome/browser/cocoa/browser_window_controller.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm
index 0e47bd1..de01113 100644
--- a/chrome/browser/cocoa/browser_window_controller.mm
+++ b/chrome/browser/cocoa/browser_window_controller.mm
@@ -434,7 +434,7 @@
// TODO(viettrungluu): For some reason, the above doesn't suffice.
if ([self isFullscreen])
- [floatingBarBackingView_ setNeedsDisplay:YES];
+ [floatingBarBackingView_ setNeedsDisplay:YES]; // Okay even if nil.
}
- (void)windowDidResignMain:(NSNotification*)notification {
@@ -444,7 +444,7 @@
// TODO(viettrungluu): For some reason, the above doesn't suffice.
if ([self isFullscreen])
- [floatingBarBackingView_ setNeedsDisplay:YES];
+ [floatingBarBackingView_ setNeedsDisplay:YES]; // Okay even if nil.
}
// Called when we are activated (when we gain focus).