Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1446)

Unified Diff: Source/modules/mediasession/HTMLMediaElementMediaSession.idl

Issue 1217743003: Add stub for assigning media session to media elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments round #3 - idl issues, gypi issues, doc issues Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+};
« no previous file with comments | « Source/modules/mediasession/HTMLMediaElementMediaSession.cpp ('k') | Source/modules/mediasession/MediaSession.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698