| 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 InterpolableValue_h | 5 #ifndef InterpolableValue_h |
| 6 #define InterpolableValue_h | 6 #define InterpolableValue_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 9 #include "core/animation/animatable/AnimatableValue.h" | 10 #include "core/animation/animatable/AnimatableValue.h" |
| 10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 11 #include "wtf/PtrUtil.h" | 12 #include "wtf/PtrUtil.h" |
| 12 #include "wtf/Vector.h" | 13 #include "wtf/Vector.h" |
| 13 #include <memory> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 // Represents the components of a PropertySpecificKeyframe's value that change | 17 // Represents the components of a PropertySpecificKeyframe's value that change |
| 18 // smoothly as it interpolates to an adjacent value. | 18 // smoothly as it interpolates to an adjacent value. |
| 19 class CORE_EXPORT InterpolableValue { | 19 class CORE_EXPORT InterpolableValue { |
| 20 USING_FAST_MALLOC(InterpolableValue); | 20 USING_FAST_MALLOC(InterpolableValue); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 virtual ~InterpolableValue() {} | 23 virtual ~InterpolableValue() {} |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 value.isList()); | 179 value.isList()); |
| 180 DEFINE_TYPE_CASTS(InterpolableAnimatableValue, | 180 DEFINE_TYPE_CASTS(InterpolableAnimatableValue, |
| 181 InterpolableValue, | 181 InterpolableValue, |
| 182 value, | 182 value, |
| 183 value->isAnimatableValue(), | 183 value->isAnimatableValue(), |
| 184 value.isAnimatableValue()); | 184 value.isAnimatableValue()); |
| 185 | 185 |
| 186 } // namespace blink | 186 } // namespace blink |
| 187 | 187 |
| 188 #endif | 188 #endif |
| OLD | NEW |