blob: 73413db95b4dc3da4b49121a9ec76254401b82c9 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
enum MediaSessionPlaybackState {
enum MediaSessionAction {
callback MediaSessionActionHandler = void ();
] interface MediaSession {
[Measure] attribute MediaMetadata? metadata;
[Measure] attribute MediaSessionPlaybackState playbackState;
[Measure] void setActionHandler(MediaSessionAction action,
MediaSessionActionHandler? handler);