summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/fullscreen_controller.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-23 01:11:23 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-23 01:11:23 +0000
commit34e13c29bd983b7f6694c2d44162260a6de32b62 (patch)
tree0efd228f37496cf0afba65f9518c0df5ab370579 /chrome/browser/cocoa/fullscreen_controller.h
parent4d0d808d8a3d9bc767d01aa1c04c739ea4e22ec8 (diff)
downloadchromium_src-34e13c29bd983b7f6694c2d44162260a6de32b62.zip
chromium_src-34e13c29bd983b7f6694c2d44162260a6de32b62.tar.gz
chromium_src-34e13c29bd983b7f6694c2d44162260a6de32b62.tar.bz2
[Mac] Only hide the menubar if the fullscreen window is on the main screen.
BUG=35973 TEST=Fullscreen a window on a non-main screen. Menubar should still be visible on the main screen. Review URL: http://codereview.chromium.org/650187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/fullscreen_controller.h')
-rw-r--r--chrome/browser/cocoa/fullscreen_controller.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/cocoa/fullscreen_controller.h b/chrome/browser/cocoa/fullscreen_controller.h
index f1e975b..d0db450 100644
--- a/chrome/browser/cocoa/fullscreen_controller.h
+++ b/chrome/browser/cocoa/fullscreen_controller.h
@@ -57,12 +57,12 @@
// completes.
NSRect trackingAreaBounds_;
- // If YES, we currently think the window has main status and therefore have
- // hidden the menubar. While this should generally match the actual main
- // status of the window, it can get out of sync if we miss a notification
- // (which can happen when a fullscreen window is closed). Used to make sure
- // we properly restore the menubar when this controller is destroyed.
- BOOL windowIsMain_;
+ // YES if we are currently hiding the menubar. While this should generally
+ // match the window's main status, it can get out of sync if we miss a
+ // notification (which can happen when a fullscreen window is closed). Used
+ // to make sure we properly restore the menubar when this controller is
+ // destroyed.
+ BOOL menubarIsHidden_;
}
@property(readonly, nonatomic) BOOL isFullscreen;