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

Side by Side Diff: third_party/WebKit/Source/core/animation/SVGPathInterpolationType.h

Issue 1441853002: Web Animations: Add SVGPathInterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgNumberListInterpolationType
Patch Set: Rebased Created 5 years 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698