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

Unified Diff: core/animation/ElementAnimation.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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/DocumentAnimation.idl ('k') | core/animation/Player.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/ElementAnimation.idl
diff --git a/core/animation/ElementAnimation.idl b/core/animation/ElementAnimation.idl
index e5c5137854939fac5adad3b4820e86d63dd63989..f524939ba453c861c9821bff08ae5d8769733a00 100644
--- a/core/animation/ElementAnimation.idl
+++ b/core/animation/ElementAnimation.idl
@@ -28,10 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Element {
- Animation animate(sequence<Dictionary> keyframes, Dictionary timingInput);
- Animation animate(sequence<Dictionary> keyframes, double timingInput);
- Animation animate(sequence<Dictionary> keyframes);
+// http://www.w3.org/TR/web-animations/#idl-def-Element
+// FIXME: move to Animatable
+// http://dev.w3.org/fxtf/web-animations/#idl-def-Animatable
+
+partial interface Element {
+ // FIXME: needs support for union types http://crbug.com/240176
+ // AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional (double or Dictionary) timing);
+ [Custom, RaisesException] AnimationPlayer animate(object effect, optional object timing);
};
« no previous file with comments | « core/animation/DocumentAnimation.idl ('k') | core/animation/Player.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698