Index: core/html/track/vtt/VTTCue.idl |
diff --git a/core/frame/WindowEventHandlers.idl b/core/html/track/vtt/VTTCue.idl |
similarity index 72% |
copy from core/frame/WindowEventHandlers.idl |
copy to core/html/track/vtt/VTTCue.idl |
index b7634ae98bf60421bd51029ce00e5a14074bf343..8b958174353e0f9792b831a928072e8222e446a7 100644 |
--- a/core/frame/WindowEventHandlers.idl |
+++ b/core/html/track/vtt/VTTCue.idl |
@@ -28,20 +28,17 @@ |
*/ |
[ |
- NoInterfaceObject, |
- ImplementedAs=DOMWindowEventHandlers |
-] interface WindowEventHandlers { |
- //attribute EventHandler onafterprint; |
- //attribute EventHandler onbeforeprint; |
- attribute EventHandler onbeforeunload; |
- attribute EventHandler onhashchange; |
- attribute EventHandler onmessage; |
- attribute EventHandler onoffline; |
- attribute EventHandler ononline; |
- attribute EventHandler onpagehide; |
- attribute EventHandler onpageshow; |
- attribute EventHandler onpopstate; |
- attribute EventHandler onresize; |
- attribute EventHandler onstorage; |
- attribute EventHandler onunload; |
+ Constructor(double startTime, double endTime, DOMString text), |
+ ConstructorCallWith=Document, |
+ RuntimeEnabled=VideoTrack, |
+] interface VTTCue : TextTrackCue { |
+ [RuntimeEnabled=WebVTTRegions] attribute DOMString regionId; |
+ [RaisesException=Setter] attribute DOMString 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 DOMString text; |
+ DocumentFragment getCueAsHTML(); |
}; |