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

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

Issue 1413463008: Web Animations: Migrate SVG path interpolation to interpolation types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/SVGPathInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/SVGIntegerInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGPathInterpolationType.h
similarity index 53%
copy from third_party/WebKit/Source/core/animation/SVGIntegerInterpolationType.h
copy to third_party/WebKit/Source/core/animation/SVGPathInterpolationType.h
index a16bd8541f19d33c3d18864a926de5df699dcfed..d9237daeb7c21705af7bb9fdc0fb506ce25366cd 100644
--- a/third_party/WebKit/Source/core/animation/SVGIntegerInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/SVGPathInterpolationType.h
@@ -2,26 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SVGIntegerInterpolationType_h
-#define SVGIntegerInterpolationType_h
+#ifndef SVGPathInterpolationType_h
+#define SVGPathInterpolationType_h
#include "core/animation/SVGInterpolationType.h"
namespace blink {
-class SVGIntegerInterpolationType : public SVGInterpolationType {
+class SVGPathInterpolationType : public SVGInterpolationType {
public:
- SVGIntegerInterpolationType(const QualifiedName& attribute)
+ SVGPathInterpolationType(const QualifiedName& attribute)
: SVGInterpolationType(attribute)
{ }
private:
- PassOwnPtr<InterpolationValue> maybeConvertNeutral() const final;
+ PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&) const final;
PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& svgValue) const final;
PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;
RefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*) const final;
+ PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(InterpolationValue& startValue, InterpolationValue& endValue) const final;
+ void composite(UnderlyingValue&, double underlyingFraction, const InterpolationValue&) const final;
};
} // namespace blink
-#endif // SVGIntegerInterpolationType_h
+#endif // SVGPathInterpolationType_h

Powered by Google App Engine
This is Rietveld 408576698