DescriptionUse internal hooks for notifying fullscreen changes to media controls
The timing of the fullscreenchange and webkitfullscreenchange events
changed in issue 402376, which caused a regression in issue 679281.
In order to reland without this regression, use an internal hook that
will not change its timing. When the all the fullscreen changes are
done, a new mechanism that depends only web-exposed events may be
possible, although likely that would require spec changes to either
the Fullscreen API or the Screen Orientation API.
Note that MediaCustomControlsFullscreenDetectorTest.* would continue to
pass without any changes to the test. This is because
MediaCustomControlsFullscreenDetector also adds event listeners in the
same way. Nevertheless, the test is updated.
BUG=402376, 679281
Patch Set 1 #Patch Set 2 : update test #Patch Set 3 : update more tests #Messages
Total messages: 17 (9 generated)
|