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

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: Address review comments round #2 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..21c8d17290bc8c3027340ab53b87e22c2f126411
--- /dev/null
+++ b/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
@@ -0,0 +1,8 @@
+// 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
philipj_slow 2015/07/02 12:50:48 I like a blank line after the URL, or have become
davve 2015/07/02 14:40:28 Done.
+partial interface HTMLMediaElement {
+ [RuntimeEnabled=MediaSession] 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