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 <memory> | |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class StyleResolverState; | 16 class StyleResolverState; |
17 | 17 |
18 class CORE_EXPORT LegacyStyleInterpolation : public Interpolation { | 18 class CORE_EXPORT LegacyStyleInterpolation : public Interpolation { |
19 public: | 19 public: |
20 static PassRefPtr<LegacyStyleInterpolation> Create( | 20 static PassRefPtr<LegacyStyleInterpolation> Create( |
21 PassRefPtr<AnimatableValue> start, | 21 PassRefPtr<AnimatableValue> start, |
22 PassRefPtr<AnimatableValue> end, | 22 PassRefPtr<AnimatableValue> end, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 DEFINE_TYPE_CASTS(LegacyStyleInterpolation, | 65 DEFINE_TYPE_CASTS(LegacyStyleInterpolation, |
66 Interpolation, | 66 Interpolation, |
67 value, | 67 value, |
68 value->IsLegacyStyleInterpolation(), | 68 value->IsLegacyStyleInterpolation(), |
69 value.IsLegacyStyleInterpolation()); | 69 value.IsLegacyStyleInterpolation()); |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif | 73 #endif |
OLD | NEW |