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

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

Issue 1322123003: Add composite() method to InterpolationType interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | Source/core/animation/InterpolationType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/InterpolableValue.h
diff --git a/Source/core/animation/InterpolableValue.h b/Source/core/animation/InterpolableValue.h
index 0f1d4b13fb5c4d1e0321e6e4d494f3830120caa3..e97712fcaff802446ac8d285028817ff5fe69d95 100644
--- a/Source/core/animation/InterpolableValue.h
+++ b/Source/core/animation/InterpolableValue.h
@@ -25,14 +25,13 @@ public:
virtual bool isAnimatableValue() const { return false; }
virtual PassOwnPtr<InterpolableValue> clone() const = 0;
+ virtual void scaleAndAdd(double scale, const InterpolableValue& other) = 0;
private:
virtual void interpolate(const InterpolableValue& to, const double progress, InterpolableValue& result) const = 0;
- virtual void scaleAndAdd(double scale, const InterpolableValue& other) = 0;
friend class Interpolation;
friend class PairwisePrimitiveInterpolation;
- friend class InvalidatableStyleInterpolation;
// Keep interpolate private, but allow calls within the hierarchy without
// knowledge of type.
« no previous file with comments | « no previous file | Source/core/animation/InterpolationType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698