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

Unified Diff: Source/core/html/track/TextTrackList.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/TextTrackCueList.idl ('k') | Source/core/html/track/VideoTrack.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackList.idl
diff --git a/Source/core/html/track/TextTrackList.idl b/Source/core/html/track/TextTrackList.idl
index 8fbc775a993e2467d9eb30c53c3231c6a4e3ab8d..4f3168f035331ec90632b9aa159c6ea3faafb609 100644
--- a/Source/core/html/track/TextTrackList.idl
+++ b/Source/core/html/track/TextTrackList.idl
@@ -23,14 +23,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#texttracklist
+
[
SetWrapperReferenceFrom=owner,
] interface TextTrackList : EventTarget {
readonly attribute unsigned long length;
- getter TextTrack item(unsigned long index);
+ // TODO(philipj): This getter should be anonymous.
+ [Measure] getter TextTrack item(unsigned long index);
TextTrack? getTrackById(DOMString id);
- attribute EventHandler onaddtrack;
attribute EventHandler onchange;
+ attribute EventHandler onaddtrack;
attribute EventHandler onremovetrack;
};
« no previous file with comments | « Source/core/html/track/TextTrackCueList.idl ('k') | Source/core/html/track/VideoTrack.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698