OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 LegacyStyleInterpolation_h | 5 #ifndef LegacyStyleInterpolation_h |
6 #define LegacyStyleInterpolation_h | 6 #define LegacyStyleInterpolation_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/CSSPropertyNames.h" | 9 #include "core/CSSPropertyNames.h" |
9 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
10 #include "core/animation/Interpolation.h" | 11 #include "core/animation/Interpolation.h" |
11 #include "core/animation/PropertyHandle.h" | 12 #include "core/animation/PropertyHandle.h" |
12 #include "core/css/resolver/AnimatedStyleBuilder.h" | 13 #include "core/css/resolver/AnimatedStyleBuilder.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class StyleResolverState; | 17 class StyleResolverState; |
18 | 18 |
19 class CORE_EXPORT LegacyStyleInterpolation : public Interpolation { | 19 class CORE_EXPORT LegacyStyleInterpolation : public Interpolation { |
20 public: | 20 public: |
21 static PassRefPtr<LegacyStyleInterpolation> create( | 21 static PassRefPtr<LegacyStyleInterpolation> create( |
22 PassRefPtr<AnimatableValue> start, | 22 PassRefPtr<AnimatableValue> start, |
23 PassRefPtr<AnimatableValue> end, | 23 PassRefPtr<AnimatableValue> end, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 DEFINE_TYPE_CASTS(LegacyStyleInterpolation, | 75 DEFINE_TYPE_CASTS(LegacyStyleInterpolation, |
76 Interpolation, | 76 Interpolation, |
77 value, | 77 value, |
78 value->isLegacyStyleInterpolation(), | 78 value->isLegacyStyleInterpolation(), |
79 value.isLegacyStyleInterpolation()); | 79 value.isLegacyStyleInterpolation()); |
80 | 80 |
81 } // namespace blink | 81 } // namespace blink |
82 | 82 |
83 #endif | 83 #endif |
OLD | NEW |