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

Unified Diff: core/html/track/vtt/VTTCue.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/VideoTrackList.idl ('k') | core/html/track/vtt/VTTRegion.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/track/vtt/VTTCue.idl
diff --git a/core/html/track/vtt/VTTCue.idl b/core/html/track/vtt/VTTCue.idl
index 3ca0307dfa3833e35322b1a45a7ae1140a27cb27..93c903b58a8d771765f53a37c643f4e26a2edbbd 100644
--- a/core/html/track/vtt/VTTCue.idl
+++ b/core/html/track/vtt/VTTCue.idl
@@ -27,7 +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" };
[
@@ -35,12 +40,15 @@ 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;
- [RaisesException=Setter] attribute long line;
- [RaisesException=Setter] attribute long position;
- [RaisesException=Setter] attribute long size;
+ 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;
DocumentFragment getCueAsHTML();
« no previous file with comments | « core/html/track/VideoTrackList.idl ('k') | core/html/track/vtt/VTTRegion.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698