DescriptionAdd WebMediaPlayer::exitedFullscreen() and call it from HTMLMediaElement
Previously WebMediaPlayers were only notified when entering fullscreen and
only if they returned true from supportsOverlayFullscreenVideo(). Now there
will always be a call when entering fullscreen, and there's a matching
exitedFullscreen() call. WebMediaPlayerImpl will use these on Android to
switch the video decoder output surface.
This also renames enterFullscreen to enteredFullscreen.
This CL to start using this is https://codereview.chromium.org/1655083002/
BUG=533630
Committed: https://crrev.com/a4c3d4f6fc6909aa1effc8c83dee65bd2cccac08
Cr-Commit-Position: refs/heads/master@{#376029}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 32 (13 generated)
|