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

Unified Diff: Source/core/html/track/vtt/VTTCue.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/VideoTrackList.idl ('k') | Source/core/html/track/vtt/VTTRegion.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTCue.idl
diff --git a/Source/core/html/track/vtt/VTTCue.idl b/Source/core/html/track/vtt/VTTCue.idl
index 25cd691b54c486890ffc37f9d61b0e9241d10725..93c903b58a8d771765f53a37c643f4e26a2edbbd 100644
--- a/Source/core/html/track/vtt/VTTCue.idl
+++ b/Source/core/html/track/vtt/VTTCue.idl
@@ -27,8 +27,12 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://dev.w3.org/html5/webvtt/#the-vttcue-interface
+
enum AutoKeyword { "auto" };
enum DirectionSetting { "" /* horizontal */, "rl", "lr" };
+// enum LineAlignSetting { "start", "middle", "end" };
+// enum PositionAlignSetting { "start", "middle", "end", "auto" };
enum AlignSetting { "start", "middle", "end", "left", "right" };
[
@@ -36,11 +40,14 @@ enum AlignSetting { "start", "middle", "end", "left", "right" };
ConstructorCallWith=Document,
SetWrapperReferenceFrom=owner,
] interface VTTCue : TextTrackCue {
+ // TODO(philipj): regionId has been replaced by a region attribute.
[RuntimeEnabled=WebVTTRegions] attribute DOMString regionId;
attribute DirectionSetting vertical;
attribute boolean snapToLines;
attribute (double or AutoKeyword) line;
+ // attribute LineAlignSetting lineAlign;
[RaisesException=Setter] attribute (double or AutoKeyword) position;
+ // attribute PositionAlignSetting positionAlign;
[RaisesException=Setter] attribute double size;
attribute AlignSetting align;
attribute DOMString text;
« no previous file with comments | « Source/core/html/track/VideoTrackList.idl ('k') | Source/core/html/track/vtt/VTTRegion.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698