Index: public/platform/WebAnimation.h |
diff --git a/public/platform/WebAnimation.h b/public/platform/WebAnimation.h |
index 95e028c36f472ac2baa0f45220b251bcbf4e95c7..e955390903c0151950a0c36551c12207b98c0b46 100644 |
--- a/public/platform/WebAnimation.h |
+++ b/public/platform/WebAnimation.h |
@@ -33,8 +33,6 @@ |
#include "wtf/Forward.h" |
#endif |
-#define WEB_ANIMATION_SUPPORTS_FULL_DIRECTION 1 |
- |
namespace WebCore { |
class CCActiveAnimation; |
} |
@@ -52,13 +50,6 @@ public: |
TargetPropertyFilter |
}; |
- enum Direction { |
- DirectionNormal = 0, |
- DirectionReverse, |
- DirectionAlternate, |
- DirectionAlternateReverse |
- }; |
- |
virtual ~WebAnimation() { } |
// An id is effectively the animation's name, and it is not unique. |
@@ -79,8 +70,8 @@ public: |
virtual void setTimeOffset(double monotonicTime) = 0; |
// If alternatesDirection is true, on odd numbered iterations we reverse the curve. |
- virtual Direction direction() const = 0; |
- virtual void setDirection(Direction) = 0; |
+ virtual bool alternatesDirection() const = 0; |
+ virtual void setAlternatesDirection(bool) = 0; |
}; |
} // namespace blink |