Descriptionmac: 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.
Committed: https://crrev.com/c1207e6e5804b054f31fc6d7b219caf9943c8e09
Cr-Commit-Position: refs/heads/master@{#299011}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|