DescriptionDon't show video fullscreen until DidEnterFullscreen() is called
For fullscreen video on android, We call showFullscreenOverlay() too early.
We should wait until DidEnterFullscreen() gets called, and then we should let the video element to request the surface view.
Otherwise, if enterFullscreenForElement fails, we will incorrectly showing the fullscreen video in the background.
This CL also removes the hideFullscreenOverlay() call since this is no longer needed.
When exiting fullscreen, video view will automatically be destroyed.
BUG=367346
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173917
Patch Set 1 : #
Messages
Total messages: 7 (0 generated)
|