Index: core/animation/AnimationEffectTiming.idl |
diff --git a/core/animation/AnimationEffectTiming.idl b/core/animation/AnimationEffectTiming.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59a395e5b6a7af6ec086bbf71cdc9cdcf13c34d8 |
--- /dev/null |
+++ b/core/animation/AnimationEffectTiming.idl |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/web-animations/#the-animationeffecttiming-interface |
+// TODO(dstockwell): Should extend AnimationEffectTimingReadOnly |
+ |
+[ |
+ RuntimeEnabled=WebAnimationsAPI, |
+ WillBeGarbageCollected, |
+] interface AnimationEffectTiming { |
+ attribute double delay; |
+ attribute double endDelay; |
+ attribute DOMString fill; |
+ attribute double iterationStart; |
+ attribute unrestricted double iterations; |
+ attribute (unrestricted double or DOMString) duration; |
+ // TODO(dstockwell): playbackRate has been removed from level 1. |
+ attribute double playbackRate; |
+ attribute DOMString direction; |
+ attribute DOMString easing; |
+}; |