Index: modules/mediasession/MediaMetadata.idl |
diff --git a/modules/mediasession/MediaMetadata.idl b/modules/mediasession/MediaMetadata.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..03f0d45f0fcd0c2b0b1e9e873e40bf5b0b55cffd |
--- /dev/null |
+++ b/modules/mediasession/MediaMetadata.idl |
@@ -0,0 +1,15 @@ |
+// 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. |
+ |
+// https://mediasession.spec.whatwg.org/#the-mediametadata-interface |
+ |
+[ |
+ Constructor(MediaMetadataInit metadata), |
+ GarbageCollected, |
+ RuntimeEnabled=MediaSession, |
+] interface MediaMetadata { |
+ readonly attribute DOMString title; |
+ readonly attribute DOMString artist; |
+ readonly attribute DOMString album; |
+}; |