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 CSSLengthInterpolationType_h | 5 #ifndef CSSLengthInterpolationType_h |
6 #define CSSLengthInterpolationType_h | 6 #define CSSLengthInterpolationType_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/animation/CSSInterpolationType.h" | 9 #include "core/animation/CSSInterpolationType.h" |
9 #include "core/animation/LengthPropertyFunctions.h" | 10 #include "core/animation/LengthPropertyFunctions.h" |
10 #include <memory> | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class ComputedStyle; | 14 class ComputedStyle; |
15 | 15 |
16 class CSSLengthInterpolationType : public CSSInterpolationType { | 16 class CSSLengthInterpolationType : public CSSInterpolationType { |
17 public: | 17 public: |
18 CSSLengthInterpolationType(PropertyHandle); | 18 CSSLengthInterpolationType(PropertyHandle); |
19 | 19 |
20 InterpolationValue maybeConvertStandardPropertyUnderlyingValue( | 20 InterpolationValue maybeConvertStandardPropertyUnderlyingValue( |
(...skipping 26 matching lines...) Expand all Loading... |
47 const CSSValue* createCSSValue(const InterpolableValue&, | 47 const CSSValue* createCSSValue(const InterpolableValue&, |
48 const NonInterpolableValue*, | 48 const NonInterpolableValue*, |
49 const StyleResolverState&) const final; | 49 const StyleResolverState&) const final; |
50 | 50 |
51 const ValueRange m_valueRange; | 51 const ValueRange m_valueRange; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
55 | 55 |
56 #endif // CSSLengthInterpolationType_h | 56 #endif // CSSLengthInterpolationType_h |
OLD | NEW |