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

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: Update expected files with new line numbers 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..788baf7edaeca96850df7393aac5f8ed37513808
--- /dev/null
+++ b/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
@@ -0,0 +1,9 @@
+// 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] partial interface HTMLMediaElement {
philipj_slow 2015/07/02 20:22:49 I tested this and verified no change to the genera
+ [RuntimeEnabled=MediaSession] attribute MediaSession? session;
+};

Powered by Google App Engine
This is Rietveld 408576698