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

Side by Side Diff: Source/core/html/track/VideoTrackList.idl

Issue 1178333002: Sync audio/video/text track-related interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/track/VideoTrack.idl ('k') | Source/core/html/track/vtt/VTTCue.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://html.spec.whatwg.org/#videotracklist
6
5 [ 7 [
6 RuntimeEnabled=AudioVideoTracks, 8 RuntimeEnabled=AudioVideoTracks,
7 SetWrapperReferenceFrom=owner, 9 SetWrapperReferenceFrom=owner,
8 ] interface VideoTrackList : EventTarget { 10 ] interface VideoTrackList : EventTarget {
9 readonly attribute unsigned long length; 11 readonly attribute unsigned long length;
10 getter VideoTrack (unsigned long index); 12 getter VideoTrack (unsigned long index);
11 VideoTrack? getTrackById(DOMString id); 13 VideoTrack? getTrackById(DOMString id);
12 readonly attribute long selectedIndex; 14 readonly attribute long selectedIndex;
13 15
14 attribute EventHandler onchange; 16 attribute EventHandler onchange;
15 attribute EventHandler onaddtrack; 17 attribute EventHandler onaddtrack;
16 attribute EventHandler onremovetrack; 18 attribute EventHandler onremovetrack;
17 }; 19 };
OLDNEW
« no previous file with comments | « Source/core/html/track/VideoTrack.idl ('k') | Source/core/html/track/vtt/VTTCue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698