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

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

Issue 1210353004: Rename {Animation,Interpolation}Type and {Animation,Interpolation}Value (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 6 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
Index: Source/core/animation/InvalidatableStyleInterpolation.h
diff --git a/Source/core/animation/InvalidatableStyleInterpolation.h b/Source/core/animation/InvalidatableStyleInterpolation.h
index 1a75ff2d4b59c9b0ea9747cc0352e94e2d01bcba..555ee0ca47ebea5a9667231f7359ad77962fe104 100644
--- a/Source/core/animation/InvalidatableStyleInterpolation.h
+++ b/Source/core/animation/InvalidatableStyleInterpolation.h
@@ -5,8 +5,8 @@
#ifndef InvalidatableStyleInterpolation_h
#define InvalidatableStyleInterpolation_h
-#include "core/animation/AnimationType.h"
-#include "core/animation/AnimationValue.h"
+#include "core/animation/InterpolationType.h"
+#include "core/animation/InterpolationValue.h"
#include "core/animation/PrimitiveInterpolation.h"
#include "core/animation/StyleInterpolation.h"
@@ -18,11 +18,11 @@ namespace blink {
class CORE_EXPORT InvalidatableStyleInterpolation : public StyleInterpolation {
public:
static PassRefPtrWillBeRawPtr<InvalidatableStyleInterpolation> create(
- const Vector<const AnimationType*>& animationTypes,
+ const Vector<const InterpolationType*>& InterpolationTypes,
const CSSPropertySpecificKeyframe& startKeyframe,
const CSSPropertySpecificKeyframe& endKeyframe)
{
- return adoptRefWillBeNoop(new InvalidatableStyleInterpolation(animationTypes, startKeyframe, endKeyframe));
+ return adoptRefWillBeNoop(new InvalidatableStyleInterpolation(InterpolationTypes, startKeyframe, endKeyframe));
}
virtual void interpolate(int iteration, double fraction);
@@ -40,22 +40,22 @@ public:
private:
InvalidatableStyleInterpolation(
- const Vector<const AnimationType*>& animationTypes,
+ const Vector<const InterpolationType*>& InterpolationTypes,
const CSSPropertySpecificKeyframe& startKeyframe,
const CSSPropertySpecificKeyframe& endKeyframe);
void ensureValidInterpolation(const StyleResolverState&) const;
bool isCacheValid(const StyleResolverState&) const;
bool maybeCachePairwiseConversion(const StyleResolverState*) const;
- PassOwnPtrWillBeRawPtr<AnimationValue> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
+ PassOwnPtrWillBeRawPtr<InterpolationValue> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
- const Vector<const AnimationType*>& m_animationTypes;
+ const Vector<const InterpolationType*>& m_interpolationTypes;
const CSSPropertySpecificKeyframe& m_startKeyframe;
const CSSPropertySpecificKeyframe& m_endKeyframe;
double m_currentFraction;
mutable OwnPtrWillBeMember<PrimitiveInterpolation> m_cachedConversion;
- mutable AnimationType::ConversionCheckers m_conversionCheckers;
- mutable OwnPtrWillBeMember<AnimationValue> m_cachedValue;
+ mutable InterpolationType::ConversionCheckers m_conversionCheckers;
+ mutable OwnPtrWillBeMember<InterpolationValue> m_cachedValue;
};
DEFINE_TYPE_CASTS(InvalidatableStyleInterpolation, Interpolation, value, value->isInvalidatableStyleInterpolation(), value.isInvalidatableStyleInterpolation());
« no previous file with comments | « Source/core/animation/InterpolationValue.h ('k') | Source/core/animation/InvalidatableStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698