summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/track/TextTrackCue.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/track/TextTrackCue.idl')
-rw-r--r--Source/WebCore/html/track/TextTrackCue.idl47
1 files changed, 10 insertions, 37 deletions
diff --git a/Source/WebCore/html/track/TextTrackCue.idl b/Source/WebCore/html/track/TextTrackCue.idl
index e860b9765..44fe168aa 100644
--- a/Source/WebCore/html/track/TextTrackCue.idl
+++ b/Source/WebCore/html/track/TextTrackCue.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -10,10 +10,10 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
@@ -25,45 +25,18 @@
[
Conditional=VIDEO_TRACK,
- JSGenerateToNativeObject,
- Constructor(double startTime, double endTime, DOMString text),
- ConstructorCallWith=ScriptExecutionContext,
- EventTarget,
- JSCustomMarkFunction,
CustomIsReachable,
+ CustomToJSObject,
+ JSCustomMarkFunction,
SkipVTableValidation,
-] interface TextTrackCue {
+] interface TextTrackCue : EventTarget {
readonly attribute TextTrack track;
attribute DOMString id;
- [SetterRaisesException] attribute double startTime;
- [SetterRaisesException] attribute double endTime;
+ attribute double startTime;
+ attribute double endTime;
attribute boolean pauseOnExit;
- [SetterRaisesException] attribute DOMString vertical;
- attribute boolean snapToLines;
- [SetterRaisesException] attribute long line;
- [SetterRaisesException] attribute long position;
- [SetterRaisesException] attribute long size;
- [SetterRaisesException] attribute DOMString align;
-
- attribute DOMString text;
- DocumentFragment getCueAsHTML();
-
- attribute EventListener onenter;
- attribute EventListener onexit;
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
-
-#if defined(ENABLE_WEBVTT_REGIONS) && ENABLE_WEBVTT_REGIONS
- attribute DOMString regionId;
-#endif
+ attribute EventHandler onenter;
+ attribute EventHandler onexit;
};
-