| Index: Source/core/animation/ElementAnimation.h
|
| diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h
|
| index 11ac65ab8d5952f1ddaf8075b0c64d827a43988a..cd63f9cb08f83946b8fe1eb41437470608e8a725 100644
|
| --- a/Source/core/animation/ElementAnimation.h
|
| +++ b/Source/core/animation/ElementAnimation.h
|
| @@ -31,7 +31,7 @@
|
| #ifndef ElementAnimation_h
|
| #define ElementAnimation_h
|
|
|
| -#include "CSSPropertyNames.h" // For CSSPropertyID.
|
| +#include "core/css/parser/BisonCSSParser.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -41,10 +41,11 @@ class Element;
|
| 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);
|
| + static void animate(Element*, Vector<Dictionary> keyframesDictionaryVector, ScriptValue timingInput);
|
|
|
| private:
|
| - static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector, double duration = 0);
|
| + static void startAnimation(Element*, Vector<Dictionary> keyframesDictionaryVector, v8::Handle<v8::Value> timingInput = v8::Handle<v8::Value>());
|
|
|
| friend class AnimationElementAnimationTest;
|
| };
|
|
|