Index: core/animation/AnimationTimeline.idl |
diff --git a/core/animation/AnimationTimeline.idl b/core/animation/AnimationTimeline.idl |
index 31b1648da192ee605f6702f1e35712a563141eee..81f42382280a1f0ce38e873a02088f888d1a90f5 100644 |
--- a/core/animation/AnimationTimeline.idl |
+++ b/core/animation/AnimationTimeline.idl |
@@ -2,11 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// http://www.w3.org/TR/web-animations/#the-animationtimeline-interface |
+ |
+// TODO(dstockwell): This interface has several changes in the latest spec: |
+// https://w3c.github.io/web-animations/#the-animationtimeline-interface |
+ |
[ |
RuntimeEnabled=WebAnimationsAPI, |
WillBeGarbageCollected, |
] interface AnimationTimeline { |
- readonly attribute double? currentTime; |
- AnimationPlayer play(AnimationNode source); |
- sequence<AnimationPlayer> getAnimationPlayers(); |
+ attribute double? currentTime; |
+ attribute double playbackRate; |
+ Animation play(AnimationEffectReadOnly source); |
+ sequence<Animation> getAnimations(); |
}; |