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 CSSColorInterpolationType_h | 5 #ifndef CSSColorInterpolationType_h |
6 #define CSSColorInterpolationType_h | 6 #define CSSColorInterpolationType_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/CSSValueKeywords.h" | 9 #include "core/CSSValueKeywords.h" |
9 #include "core/animation/CSSInterpolationType.h" | 10 #include "core/animation/CSSInterpolationType.h" |
10 #include "platform/graphics/Color.h" | 11 #include "platform/graphics/Color.h" |
11 #include <memory> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class StyleColor; | 15 class StyleColor; |
16 struct OptionalStyleColor; | 16 struct OptionalStyleColor; |
17 | 17 |
18 class CSSColorInterpolationType : public CSSInterpolationType { | 18 class CSSColorInterpolationType : public CSSInterpolationType { |
19 public: | 19 public: |
20 CSSColorInterpolationType(PropertyHandle property) | 20 CSSColorInterpolationType(PropertyHandle property) |
21 : CSSInterpolationType(property) {} | 21 : CSSInterpolationType(property) {} |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const OptionalStyleColor&) const; | 53 const OptionalStyleColor&) const; |
54 | 54 |
55 const CSSValue* createCSSValue(const InterpolableValue&, | 55 const CSSValue* createCSSValue(const InterpolableValue&, |
56 const NonInterpolableValue*, | 56 const NonInterpolableValue*, |
57 const StyleResolverState&) const final; | 57 const StyleResolverState&) const final; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace blink | 60 } // namespace blink |
61 | 61 |
62 #endif // CSSColorInterpolationType_h | 62 #endif // CSSColorInterpolationType_h |
OLD | NEW |