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

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

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert Logging Created 7 years, 2 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/track/TextTrack.idl
diff --git a/Source/core/html/track/TextTrack.idl b/Source/core/html/track/TextTrack.idl
index 10679016bb809a28d0575899611c2ab229cbf84b..c944e207c6cfe4cec7f945ee2a3b97c76a248d9f 100644
--- a/Source/core/html/track/TextTrack.idl
+++ b/Source/core/html/track/TextTrack.idl
@@ -39,7 +39,7 @@
void addCue(TextTrackCue cue);
[RaisesException] void removeCue(TextTrackCue cue);
- [Conditional=WEBVTT_REGIONS] readonly attribute TextTrackRegionList regions;
- [Conditional=WEBVTT_REGIONS] void addRegion(TextTrackRegion region);
- [RaisesException, Conditional=WEBVTT_REGIONS] void removeRegion(TextTrackRegion region);
+ [EnabledAtRuntime=WebVTTRegions] readonly attribute TextTrackRegionList regions;
+ [EnabledAtRuntime=WebVTTRegions] void addRegion(TextTrackRegion region);
+ [RaisesException, EnabledAtRuntime=WebVTTRegions] void removeRegion(TextTrackRegion region);
};

Powered by Google App Engine
This is Rietveld 408576698