DescriptionRestore background transparency when leaving fullscreen video
This is a follow up to https://codereview.chromium.org/1254613003 which
removes a usage of OverlayFullscreenVideo that was missed. Previously
the overlay fullscreen runtime feature was used to decide
whether to restore background transparency when leaving fullscreen. Now
it's done whenever the fullscreen element is a video, because we
don't know whether the WebMediaPlayer belonging to the video element used
the overlay mode or not. So conservatively restore the state.
This also adds a setter for ForceOverlayFullscreenVideo to pave the
way for a chromium change to replace usages of OverlayFullscreenVideo
with it.
BUG=511376, 507834
TEST=virtual/android/fullscreen layout tests
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200193
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Remove extraneous space #
Messages
Total messages: 9 (4 generated)
|