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

Unified Diff: Source/core/html/HTMLMediaElement.idl

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Rebase Created 6 years, 9 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/core/html/HTMLMediaElement.idl
diff --git a/Source/core/html/HTMLMediaElement.idl b/Source/core/html/HTMLMediaElement.idl
index 98b899f88e59ccc9f4030588fd7ad1d608adaec0..bf1cecbd81989d58724d7d7c7dce5a980df4882f 100644
--- a/Source/core/html/HTMLMediaElement.idl
+++ b/Source/core/html/HTMLMediaElement.idl
@@ -81,6 +81,8 @@
[Reflect=muted] attribute boolean defaultMuted;
// tracks
+ [RuntimeEnabled=AudioVideoTracks] readonly attribute AudioTrackList audioTracks;
+ [RuntimeEnabled=AudioVideoTracks] readonly attribute VideoTrackList videoTracks;
[RuntimeEnabled=VideoTrack] readonly attribute TextTrackList textTracks;
philipj_slow 2014/03/09 09:04:14 Do you want to rename VideoTrack to TextTracks to
acolwell GONE FROM CHROMIUM 2014/03/18 22:02:15 I'll do this in a separate CL. I don't really get
philipj_slow 2014/03/20 16:17:39 I'll be happy to review that separately! I just wa
[RuntimeEnabled=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString kind, optional DOMString label, optional DOMString language);

Powered by Google App Engine
This is Rietveld 408576698