Index: Source/modules/mediasession/HTMLMediaElementMediaSession.idl |
diff --git a/Source/modules/mediasession/HTMLMediaElementMediaSession.idl b/Source/modules/mediasession/HTMLMediaElementMediaSession.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14b2fe511fc20e501fc17470cfddfa5aecb345af |
--- /dev/null |
+++ b/Source/modules/mediasession/HTMLMediaElementMediaSession.idl |
@@ -0,0 +1,12 @@ |
+// 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/#extensions-to-the-htmlmediaelement-interface |
+ |
+[ |
+ TypeChecking=Interface, |
+ RuntimeEnabled=MediaSession, |
+] partial interface HTMLMediaElement { |
+ attribute MediaSession? session; |
+}; |