Restore 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

Review URL: https://codereview.chromium.org/1278583004

git-svn-id: svn://svn.chromium.org/blink/trunk@200193 bbb929c8-8fbe-4397-9dbb-9b2b20218538
8 files changed
tree: bcaf7a7514095551cf7df0e9107ab4c653cbf368
  1. third_party/