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

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

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 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 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 SVGNumberListInterpolationType_h 5 #ifndef SVGNumberListInterpolationType_h
6 #define SVGNumberListInterpolationType_h 6 #define SVGNumberListInterpolationType_h
7 7
8 #include "core/SVGNames.h" 8 #include "core/SVGNames.h"
9 #include "core/animation/SVGInterpolationType.h" 9 #include "core/animation/SVGInterpolationType.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 // TODO(alancutter): The rotate attribute is marked as non-additive in the SVG s pecs: 13 // TODO(alancutter): The rotate attribute is marked as non-additive in the SVG
14 // specs:
14 // http://www.w3.org/TR/SVG/text.html#TSpanElementRotateAttribute 15 // http://www.w3.org/TR/SVG/text.html#TSpanElementRotateAttribute
15 // http://www.w3.org/TR/SVG/text.html#TextElementRotateAttribute 16 // http://www.w3.org/TR/SVG/text.html#TextElementRotateAttribute
16 17
17 class SVGNumberListInterpolationType : public SVGInterpolationType { 18 class SVGNumberListInterpolationType : public SVGInterpolationType {
18 public: 19 public:
19 SVGNumberListInterpolationType(const QualifiedName& attribute) 20 SVGNumberListInterpolationType(const QualifiedName& attribute)
20 : SVGInterpolationType(attribute) {} 21 : SVGInterpolationType(attribute) {}
21 22
22 private: 23 private:
23 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, 24 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,
24 ConversionCheckers&) const final; 25 ConversionCheckers&) const final;
25 InterpolationValue maybeConvertSVGValue( 26 InterpolationValue maybeConvertSVGValue(
26 const SVGPropertyBase& svgValue) const final; 27 const SVGPropertyBase& svgValue) const final;
27 PairwiseInterpolationValue maybeMergeSingles( 28 PairwiseInterpolationValue maybeMergeSingles(
28 InterpolationValue&& start, 29 InterpolationValue&& start,
29 InterpolationValue&& end) const final; 30 InterpolationValue&& end) const final;
30 void composite(UnderlyingValueOwner&, 31 void composite(UnderlyingValueOwner&,
31 double underlyingFraction, 32 double underlyingFraction,
32 const InterpolationValue&, 33 const InterpolationValue&,
33 double interpolationFraction) const final; 34 double interpolationFraction) const final;
34 SVGPropertyBase* appliedSVGValue(const InterpolableValue&, 35 SVGPropertyBase* appliedSVGValue(const InterpolableValue&,
35 const NonInterpolableValue*) const final; 36 const NonInterpolableValue*) const final;
36 }; 37 };
37 38
38 } // namespace blink 39 } // namespace blink
39 40
40 #endif // SVGNumberListInterpolationType_h 41 #endif // SVGNumberListInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698