Descriptionmac: Fix bug where exiting tab fullscreen would cause Chrome menubar to disappear.
Prior to my major fullscreen refactor, Presentation Mode and Canonical
Fullscreen had significant implementation differences. As a result,
fullscreen_controller treated the two modes very differently. If a user tried
to enter tab fullscreen after entering browser fullscreen (Presentation Mode),
enterImmersiveFullscreen: would not be invoked. If a user tried to do the same
after Canonical Fullscreen, enterImmersiveFullscreen: would be invoked.
After my major fullscreen refactor, Presentation Mode and Canonical Fullscreen
are almost identical. However, I failed to update the logic in
fullscreen_controller, which still treated the two modes differently.
This CL updates the logic in fullscreen_controller to treat both modes like
Presentation Mode. If a user tries to enter tab fullscreen after entering
browser fullscreen, enterImmersiveFullscreen: is not invoked.
BUG=422191
Committed: https://crrev.com/da9c656f686f5b4aaa56d56ecc82024aefd94719
Cr-Commit-Position: refs/heads/master@{#299838}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Fix unit test. #
Messages
Total messages: 23 (9 generated)
|