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

Unified Diff: Source/core/animation/ElementAnimation.idl

Issue 105273010: Web Animations API: Start implementation of timing input objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change to use Dictionary instead of Object Created 7 years 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
Index: Source/core/animation/ElementAnimation.idl
diff --git a/Source/core/animation/ElementAnimation.idl b/Source/core/animation/ElementAnimation.idl
index e191d950bc02e025aac90ab22382d9a37232258a..9456591cb0f659687d41c0a04ab467a97a6a7ff9 100644
--- a/Source/core/animation/ElementAnimation.idl
+++ b/Source/core/animation/ElementAnimation.idl
@@ -29,5 +29,6 @@
*/
partial interface Element {
- [RuntimeEnabled=WebAnimationsAPI] void animate(sequence<Dictionary> keyframes, optional double duration);
+ [RuntimeEnabled=WebAnimationsAPI] void animate(sequence<Dictionary> keyframes);
+ [RuntimeEnabled=WebAnimationsAPI] void animate(sequence<Dictionary> keyframes, any timingInput);
Steve Block 2013/12/17 00:05:35 Why do we need two overloaded versions of this met
rjwright 2013/12/18 04:17:14 We don't, but Alan said not to make it optional. I
};

Powered by Google App Engine
This is Rietveld 408576698