Chromium Code Reviews
DescriptionRefactor overlay fullscreen video handling into a single callback
The motivation is twofold.
First, the timing of modifying the fullscreen element stack (later top
layer) will change, so that it doesn't happen synchronously with the
enter/exit callbacks, but in an animation frame task following it. That
means that it has to be the code that changes the fullscreen element
that notifies FullscreenController.
Second, FullscreenController itself doesn't strictly need
m_provisionalFullscreenElement or m_fullscreenFrame, but in the current
structure they're needed for the overlay fullscreen video handling.
Changing this is a prerequisite for further refactoring:
https://codereview.chromium.org/2495423004/
TEST=https://codereview.chromium.org/2527093003/
BUG=402376
Committed: https://crrev.com/527a3270a1a0da47cc48dbd3c9e76c614435b7c6
Cr-Commit-Position: refs/heads/master@{#435223}
Patch Set 1 #Patch Set 2 : set dependency patchset. #Patch Set 3 : documentation #
Total comments: 5
Patch Set 4 : test and fix failing DCHECK #Patch Set 5 : rebase #Messages
Total messages: 29 (16 generated)
|