Index: Source/core/animation/AnimationEffect.h |
diff --git a/Source/core/animation/AnimationEffect.h b/Source/core/animation/AnimationEffect.h |
index 8438c2c454d71c16278a0bb37f021e1e2bf2b98c..e2304c291767ea7aec468f50707a1d569f3997d0 100644 |
--- a/Source/core/animation/AnimationEffect.h |
+++ b/Source/core/animation/AnimationEffect.h |
@@ -40,6 +40,7 @@ |
namespace WebCore { |
class AnimatableValue; |
+class Interpolation; |
class AnimationEffect : public RefCountedWillBeGarbageCollectedFinalized<AnimationEffect> { |
public: |
@@ -47,20 +48,9 @@ public: |
CompositeReplace, |
CompositeAdd, |
}; |
- // Encapsulates the value which results from applying a set of composition operations onto an |
- // underlying value. It is used to represent the output of the effect phase of the Web |
- // Animations model. |
- class CompositableValue : public RefCounted<CompositableValue> { |
- public: |
- virtual ~CompositableValue() { } |
- virtual bool dependsOnUnderlyingValue() const = 0; |
- virtual PassRefPtr<AnimatableValue> compositeOnto(const AnimatableValue*) const = 0; |
- }; |
virtual ~AnimationEffect() { } |
- typedef HashMap<CSSPropertyID, RefPtr<CompositableValue> > CompositableValueMap; |
- typedef Vector<std::pair<CSSPropertyID, RefPtr<CompositableValue> > > CompositableValueList; |
- virtual PassOwnPtr<CompositableValueList> sample(int iteration, double fraction) const = 0; |
+ virtual PassOwnPtr<Vector<RefPtr<Interpolation> > > sample(int iteration, double fraction) const = 0; |
virtual bool affects(CSSPropertyID) { return false; }; |
virtual bool isKeyframeEffectModel() const { return false; } |