Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2359)

Unified Diff: core/animation/KeyframeEffect.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/animation/ElementAnimation.idl ('k') | core/animation/KeyframeEffectOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/KeyframeEffect.idl
diff --git a/core/animation/AnimationNode.idl b/core/animation/KeyframeEffect.idl
similarity index 76%
rename from core/animation/AnimationNode.idl
rename to core/animation/KeyframeEffect.idl
index c04ede67dfc71172ad802be146c41225340829cd..0235507d149325283a9c79cc9ffcae328af77641 100644
--- a/core/animation/AnimationNode.idl
+++ b/core/animation/KeyframeEffect.idl
@@ -28,20 +28,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/web-animations/#the-keyframeeffect-interfaces
+
[
+ // TODO(dstockwell): the third argument should be "optional (unrestricted double or KeyframeEffectOptions) timing".
+ Constructor(Element? target, sequence<Dictionary> keyframes, optional unrestricted double timing),
+ Constructor(Element? target, sequence<Dictionary> keyframes, KeyframeEffectOptions timing),
+ RaisesException=Constructor,
RuntimeEnabled=WebAnimationsAPI,
- WillBeGarbageCollected,
-] interface AnimationNode {
- // Playback state
- readonly attribute double? localTime;
- readonly attribute unsigned long? currentIteration;
-
- // Calculated timing
- readonly attribute double startTime;
- readonly attribute double duration;
- readonly attribute double activeDuration;
- readonly attribute double endTime;
-
- readonly attribute Timing timing;
- readonly attribute AnimationPlayer? player;
+ TypeChecking=Interface,
+] interface KeyframeEffect : AnimationEffectReadOnly {
};
« no previous file with comments | « core/animation/ElementAnimation.idl ('k') | core/animation/KeyframeEffectOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698