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 SVGLengthInterpolationType_h | 5 #ifndef SVGLengthInterpolationType_h |
6 #define SVGLengthInterpolationType_h | 6 #define SVGLengthInterpolationType_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/animation/SVGInterpolationType.h" | 9 #include "core/animation/SVGInterpolationType.h" |
9 #include "core/svg/SVGLength.h" | 10 #include "core/svg/SVGLength.h" |
10 #include <memory> | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class SVGLengthContext; | 14 class SVGLengthContext; |
15 enum class SVGLengthMode; | 15 enum class SVGLengthMode; |
16 | 16 |
17 class SVGLengthInterpolationType : public SVGInterpolationType { | 17 class SVGLengthInterpolationType : public SVGInterpolationType { |
18 public: | 18 public: |
19 SVGLengthInterpolationType(const QualifiedName& attribute) | 19 SVGLengthInterpolationType(const QualifiedName& attribute) |
20 : SVGInterpolationType(attribute), | 20 : SVGInterpolationType(attribute), |
(...skipping 20 matching lines...) Expand all Loading... |
41 const NonInterpolableValue*, | 41 const NonInterpolableValue*, |
42 InterpolationEnvironment&) const final; | 42 InterpolationEnvironment&) const final; |
43 | 43 |
44 const SVGLengthMode m_unitMode; | 44 const SVGLengthMode m_unitMode; |
45 const bool m_negativeValuesForbidden; | 45 const bool m_negativeValuesForbidden; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // SVGLengthInterpolationType_h | 50 #endif // SVGLengthInterpolationType_h |
OLD | NEW |