OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SVGPointListInterpolationType_h | 5 #ifndef SVGPathInterpolationType_h |
6 #define SVGPointListInterpolationType_h | 6 #define SVGPathInterpolationType_h |
7 | 7 |
8 #include "core/animation/SVGInterpolationType.h" | 8 #include "core/animation/SVGInterpolationType.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class SVGPointListInterpolationType : public SVGInterpolationType { | 12 class SVGPathInterpolationType : public SVGInterpolationType { |
13 public: | 13 public: |
14 SVGPointListInterpolationType(const QualifiedName& attribute) | 14 SVGPathInterpolationType(const QualifiedName& attribute) |
15 : SVGInterpolationType(attribute) | 15 : SVGInterpolationType(attribute) |
16 { } | 16 { } |
17 | 17 |
18 private: | 18 private: |
| 19 PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& s
vgValue) const final; |
19 PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&, C
onversionCheckers&) const final; | 20 PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&, C
onversionCheckers&) const final; |
20 PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& s
vgValue) const final; | |
21 PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(Interpolat
ionValue& startValue, InterpolationValue& endValue) const final; | 21 PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(Interpolat
ionValue& startValue, InterpolationValue& endValue) const final; |
22 void composite(UnderlyingValue&, double underlyingFraction, const Interpolat
ionValue&) const final; | 22 void composite(UnderlyingValue&, double underlyingFraction, const Interpolat
ionValue&) const final; |
23 PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableVa
lue&, const NonInterpolableValue*) const final; | 23 PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableVa
lue&, const NonInterpolableValue*) const final; |
24 }; | 24 }; |
25 | 25 |
26 } // namespace blink | 26 } // namespace blink |
27 | 27 |
28 #endif // SVGPointListInterpolationType_h | 28 #endif // SVGPathInterpolationType_h |
OLD | NEW |