mac: Fix a logic error in presentation_mode_controller.
The method -shouldShowMenubarInImmersiveFullscreen failed to take into consideration whether the screen containing the window had a menu bar. BUG=NONE TEST=On OSX 10.9 or OSX 10.10, set the screensHaveSeparateSpaces setting to NO. On a second monitor, fullscreen a youtube video. Move the mouse to the top of screen. The tabstrip should appear, and should not have extra space for a menu bar. Prior to this CL, there would be extra space for a non-existent menu bar. Review URL: https://codereview.chromium.org/645643004 Cr-Commit-Position: refs/heads/master@{#299011}
Showing
Please register or sign in to comment