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

Unified Diff: core/html/track/vtt/VTTCue.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 8b958174353e0f9792b831a928072e8222e446a7..3ca0307dfa3833e35322b1a45a7ae1140a27cb27 100644
--- a/core/html/track/vtt/VTTCue.idl
+++ b/core/html/track/vtt/VTTCue.idl
@@ -27,18 +27,21 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+enum DirectionSetting { "" /* horizontal */, "rl", "lr" };
+enum AlignSetting { "start", "middle", "end", "left", "right" };
+
[
Constructor(double startTime, double endTime, DOMString text),
ConstructorCallWith=Document,
- RuntimeEnabled=VideoTrack,
+ SetWrapperReferenceFrom=owner,
] interface VTTCue : TextTrackCue {
[RuntimeEnabled=WebVTTRegions] attribute DOMString regionId;
- [RaisesException=Setter] attribute DOMString vertical;
+ attribute DirectionSetting vertical;
attribute boolean snapToLines;
[RaisesException=Setter] attribute long line;
[RaisesException=Setter] attribute long position;
[RaisesException=Setter] attribute long size;
- [RaisesException=Setter] attribute DOMString align;
+ 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