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

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: Add custom binding for timing input and handle each case separately. Created 6 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
Index: Source/core/animation/ElementAnimation.idl
diff --git a/Source/core/animation/ElementAnimation.idl b/Source/core/animation/ElementAnimation.idl
index e191d950bc02e025aac90ab22382d9a37232258a..e8bfe6228c9accd77d4553b03d9a686143ebf3f9 100644
--- a/Source/core/animation/ElementAnimation.idl
+++ b/Source/core/animation/ElementAnimation.idl
@@ -29,5 +29,5 @@
*/
partial interface Element {
- [RuntimeEnabled=WebAnimationsAPI] void animate(sequence<Dictionary> keyframes, optional double duration);
+ [Custom, RuntimeEnabled=WebAnimationsAPI] void animate(sequence<Dictionary> keyframes, optional any timingInput);
dstockwell 2014/01/21 20:47:29 If we put back the two overloads and mark both Cus
rjwright 2014/01/22 03:56:08 No. It doesn't compile. It seems to ignore the cus
};

Powered by Google App Engine
This is Rietveld 408576698