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

Unified Diff: core/html/track/TextTrack.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/html/track/AudioTrackList.idl ('k') | core/html/track/TextTrackCue.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/track/TextTrack.idl
diff --git a/core/html/track/TextTrack.idl b/core/html/track/TextTrack.idl
index 9a75f4b0def760a956ed0dc13a8adfcee9ca63a7..9fc8a39f889f194edb6c5d0b148b2253995bc983 100644
--- a/core/html/track/TextTrack.idl
+++ b/core/html/track/TextTrack.idl
@@ -23,29 +23,34 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#texttrack
+
enum TextTrackMode { "disabled", "hidden", "showing" };
enum TextTrackKind { "subtitles", "captions", "descriptions", "chapters", "metadata" };
[
SetWrapperReferenceFrom=owner,
- WillBeGarbageCollected,
+ TypeChecking=Interface,
] interface TextTrack : EventTarget {
readonly attribute TextTrackKind kind;
readonly attribute DOMString label;
readonly attribute DOMString language;
readonly attribute DOMString id;
+ // readonly attribute DOMString inBandMetadataTrackDispatchType;
- attribute TextTrackMode mode;
+ attribute TextTrackMode mode;
- readonly attribute TextTrackCueList cues;
- readonly attribute TextTrackCueList activeCues;
+ readonly attribute TextTrackCueList? cues;
+ readonly attribute TextTrackCueList? activeCues;
void addCue(TextTrackCue cue);
[RaisesException] void removeCue(TextTrackCue cue);
- attribute EventHandler oncuechange;
+ attribute EventHandler oncuechange;
+ // TODO(philipj): These WebVTT extensions have been removed from the spec:
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
[RuntimeEnabled=WebVTTRegions] readonly attribute VTTRegionList regions;
[RuntimeEnabled=WebVTTRegions] void addRegion(VTTRegion region);
[RaisesException, RuntimeEnabled=WebVTTRegions] void removeRegion(VTTRegion region);
« no previous file with comments | « core/html/track/AudioTrackList.idl ('k') | core/html/track/TextTrackCue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698