Revert of Don't use webmediaplayer to inform webview about fullscreen change...
Revert of Don't use webmediaplayer to inform webview about fullscreen change (https://codereview.chromium.org/275163002/) Reason for revert: this will break webview due to poor support of fullscreen api Original issue's description: > Don't use webmediaplayer to inform webview about fullscreen change > > Currently we rely on webmediaplayer to inform webview about fullscreen change. > With https://codereview.chromium.org/277823002/, we no longer need to do so. > When entering fullscreen, the page will be resized to fullscreen, and that will call Will/DidEnterFullscreen for us. > When leaving the fullscreen, ToggleFullscreenForTab() will request the tab to exit fullscreen. That should trigger the Resize() call and send Will/DidExitFullscreen for us. > > BUG=367346 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270005 TBR=trchen@chromium.org NOTREECHECKS=true NOTRY=true BUG=367346 Review URL: https://codereview.chromium.org/281803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270141 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment