| Index: Source/core/animation/AnimationEffect.h
|
| diff --git a/Source/core/animation/AnimationEffect.h b/Source/core/animation/AnimationEffect.h
|
| index 7ea4d21d06218dab3469fe8e4323598c55f37504..0658dc983356e5399bfcf9406fc2cc0ab183574a 100644
|
| --- a/Source/core/animation/AnimationEffect.h
|
| +++ b/Source/core/animation/AnimationEffect.h
|
| @@ -39,6 +39,7 @@
|
| namespace WebCore {
|
|
|
| class AnimatableValue;
|
| +class Interpolation;
|
|
|
| class AnimationEffect : public RefCounted<AnimationEffect> {
|
| public:
|
| @@ -54,12 +55,14 @@ public:
|
| virtual ~CompositableValue() { }
|
| virtual bool dependsOnUnderlyingValue() const = 0;
|
| virtual PassRefPtr<AnimatableValue> compositeOnto(const AnimatableValue*) const = 0;
|
| +
|
| + virtual bool isAnimatableValue() const { return false; }
|
| };
|
|
|
| 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; }
|
|
|