Index: chrome/browser/ui/cocoa/presentation_mode_controller.mm |
diff --git a/chrome/browser/ui/cocoa/presentation_mode_controller.mm b/chrome/browser/ui/cocoa/presentation_mode_controller.mm |
index ccba724835b733d0fa08c89810947651d9e5db0a..0448db2efeb818d725e850ebaabc940224e55cd7 100644 |
--- a/chrome/browser/ui/cocoa/presentation_mode_controller.mm |
+++ b/chrome/browser/ui/cocoa/presentation_mode_controller.mm |
@@ -8,6 +8,7 @@ |
#include "base/command_line.h" |
#import "base/mac/mac_util.h" |
+#include "chrome/browser/fullscreen.h" |
#import "chrome/browser/ui/cocoa/browser_window_controller.h" |
#include "chrome/common/chrome_switches.h" |
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" |
@@ -421,7 +422,7 @@ const CGFloat kFloatingBarVerticalOffset = 22; |
} |
- (BOOL)shouldToggleMenuBar { |
- return base::mac::IsOSSnowLeopard() && |
+ return !chrome::mac::SupportsSystemFullscreen() && |
[self isWindowOnPrimaryScreen] && |
[[browserController_ window] isMainWindow]; |
} |