| Index: html/track/TextTrackRegion.idl
|
| diff --git a/html/track/TextTrackCueList.idl b/html/track/TextTrackRegion.idl
|
| similarity index 64%
|
| copy from html/track/TextTrackCueList.idl
|
| copy to html/track/TextTrackRegion.idl
|
| index e51349c2e5edb8d28c8199492271f6e4a46d1d47..328166be7c373dc5846ef37ab54ea0cb8d7a963d 100644
|
| --- a/html/track/TextTrackCueList.idl
|
| +++ b/html/track/TextTrackRegion.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2011 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -24,13 +24,27 @@
|
| */
|
|
|
| [
|
| - Conditional=VIDEO_TRACK,
|
| + Conditional=VIDEO_TRACK & WEBVTT_REGIONS,
|
| V8EnabledAtRuntime=webkitVideoTrack,
|
| - IndexedGetter,
|
| - ImplementationLacksVTable
|
| -] interface TextTrackCueList {
|
| - readonly attribute unsigned long length;
|
| - TextTrackCue item(in unsigned long index);
|
| - TextTrackCue getCueById(in DOMString id);
|
| + JSGenerateToNativeObject,
|
| + Constructor()
|
| +] interface TextTrackRegion {
|
| + readonly attribute TextTrack track;
|
| +
|
| + attribute DOMString id;
|
| + attribute double width
|
| + setter raises (DOMException);
|
| + attribute long height
|
| + setter raises (DOMException);
|
| + attribute double regionAnchorX
|
| + setter raises (DOMException);
|
| + attribute double regionAnchorY
|
| + setter raises (DOMException);
|
| + attribute double viewportAnchorX
|
| + setter raises (DOMException);
|
| + attribute double viewportAnchorY
|
| + setter raises (DOMException);
|
| + attribute DOMString scroll
|
| + setter raises (DOMException);
|
| };
|
|
|
|
|