Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: Source/core/animation/AnimationEffect.h

Issue 204183002: Remove CompositableValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@opacity
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/animation/AnimatableValue.h ('k') | Source/core/animation/CompositorAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationEffect.h
diff --git a/Source/core/animation/AnimationEffect.h b/Source/core/animation/AnimationEffect.h
index a75d11def4edaaf22af96d762a93a257061b7b3e..e2304c291767ea7aec468f50707a1d569f3997d0 100644
--- a/Source/core/animation/AnimationEffect.h
+++ b/Source/core/animation/AnimationEffect.h
@@ -48,21 +48,8 @@ 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 bool isAnimatableValue() const { return false; }
- };
virtual ~AnimationEffect() { }
- typedef HashMap<CSSPropertyID, RefPtr<CompositableValue> > CompositableValueMap;
- typedef Vector<std::pair<CSSPropertyID, RefPtr<CompositableValue> > > CompositableValueList;
virtual PassOwnPtr<Vector<RefPtr<Interpolation> > > sample(int iteration, double fraction) const = 0;
virtual bool affects(CSSPropertyID) { return false; };
« no previous file with comments | « Source/core/animation/AnimatableValue.h ('k') | Source/core/animation/CompositorAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698