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

Unified Diff: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h

Issue 1394343003: Web Animations: Remove CSS dependence from InterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_specialCase0and1
Patch Set: NIVs Created 5 years, 2 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: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
index 6c9790993b9af1751dbabaf6b47fe1dd470fe95f..d875f74dcf8145507c8d8665994cad9d832dfb8f 100644
--- a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
@@ -5,26 +5,26 @@
#ifndef CSSValueInterpolationType_h
#define CSSValueInterpolationType_h
-#include "core/animation/InterpolationType.h"
+#include "core/animation/CSSInterpolationType.h"
namespace blink {
// Never supports pairwise conversion while always supporting single conversion.
// A catch all for default for CSSValues.
-class CSSValueInterpolationType : public InterpolationType {
+class CSSValueInterpolationType : public CSSInterpolationType {
public:
CSSValueInterpolationType(CSSPropertyID property)
- : InterpolationType(property)
+ : CSSInterpolationType(property)
{ }
- PassOwnPtr<PairwisePrimitiveInterpolation> maybeConvertPairwise(const CSSPropertySpecificKeyframe& startKeyframe, const CSSPropertySpecificKeyframe& endKeyframe, const StyleResolverState*, const UnderlyingValue&, ConversionCheckers&) const final
+ PassOwnPtr<PairwisePrimitiveInterpolation> maybeConvertPairwise(const PropertySpecificKeyframe& startKeyframe, const PropertySpecificKeyframe& endKeyframe, const InterpolationEnvironment*, const UnderlyingValue&, ConversionCheckers&) const final
{
return nullptr;
}
- PassOwnPtr<InterpolationValue> maybeConvertSingle(const CSSPropertySpecificKeyframe&, const StyleResolverState*, const UnderlyingValue&, ConversionCheckers&) const final;
+ PassOwnPtr<InterpolationValue> maybeConvertSingle(const PropertySpecificKeyframe&, const InterpolationEnvironment*, const UnderlyingValue&, ConversionCheckers&) const final;
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const StyleResolverState&) const final
+ PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final
{
return nullptr;
}
@@ -34,7 +34,7 @@ public:
underlyingValue.set(&value);
}
- void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const final;
+ void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698