Media Controls: use events to enter/exit fullscreen.
This is also adding MediaControlsMediaEventListener::mediaElement() and always call `m_fullscreenButton->setIsFullscreen` in ::reset() to avoid the dependency when the controls are first created. BUG=662761 R=zqzhang@chromium.org Review-Url: https://codereview.chromium.org/2592443002 Cr-Commit-Position: refs/heads/master@{#439785}
Showing
Please register or sign in to comment