Index: Source/core/animation/ElementAnimation.h |
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h |
index 11ac65ab8d5952f1ddaf8075b0c64d827a43988a..e515c5f9ddfed4fdcb820bc08278df96e4fb3282 100644 |
--- a/Source/core/animation/ElementAnimation.h |
+++ b/Source/core/animation/ElementAnimation.h |
@@ -31,21 +31,26 @@ |
#ifndef ElementAnimation_h |
#define ElementAnimation_h |
-#include "CSSPropertyNames.h" // For CSSPropertyID. |
+#include "core/css/parser/BisonCSSParser.h" |
namespace WebCore { |
class Dictionary; |
class Element; |
+struct Timing; |
class ElementAnimation { |
public: |
static CSSPropertyID camelCaseCSSPropertyNameToID(const String& propertyName); |
- static void animate(Element*, Vector<Dictionary> keyframesDictionaryVector, double duration = 0); |
+ static void animate(Element*, Vector<Dictionary> keyframesDictionaryVector, Dictionary timingInput); |
+ static void animate(Element*, Vector<Dictionary> keyframesDictionaryVector, double timingInput); |
+ static void animate(Element*, Vector<Dictionary> keyframesDictionaryVector); |
private: |
- static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector, double duration = 0); |
- |
+ static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector, Dictionary timingInput); |
+ static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector, double timingInput); |
+ static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector); |
+ static void populateTiming(Timing&, Dictionary); |
friend class AnimationElementAnimationTest; |
}; |