[Blink>MediaSession] Use setActionCallback() instead of event listeners for media control actions
As the MediaSession spec changed from using event-listener-based to callback-based fashion for media controls, we need to keep the implementation up to date. Spec PR: https://github.com/WICG/mediasession/pull/159 BUG=675963 Review-Url: https://codereview.chromium.org/2589893002 Cr-Commit-Position: refs/heads/master@{#441787}
Showing
Please register or sign in to comment