| 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 Interpolation_h | 5 #ifndef Interpolation_h |
| 6 #define Interpolation_h | 6 #define Interpolation_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 9 #include "core/animation/InterpolableValue.h" | 10 #include "core/animation/InterpolableValue.h" |
| 10 #include "wtf/Forward.h" | 11 #include "wtf/Forward.h" |
| 11 #include "wtf/RefCounted.h" | 12 #include "wtf/RefCounted.h" |
| 12 #include <memory> | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class PropertyHandle; | 16 class PropertyHandle; |
| 17 | 17 |
| 18 // Represents an animation's effect between an adjacent pair of | 18 // Represents an animation's effect between an adjacent pair of |
| 19 // PropertySpecificKeyframes. | 19 // PropertySpecificKeyframes. |
| 20 class CORE_EXPORT Interpolation : public RefCounted<Interpolation> { | 20 class CORE_EXPORT Interpolation : public RefCounted<Interpolation> { |
| 21 WTF_MAKE_NONCOPYABLE(Interpolation); | 21 WTF_MAKE_NONCOPYABLE(Interpolation); |
| 22 | 22 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 protected: | 35 protected: |
| 36 Interpolation() {} | 36 Interpolation() {} |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 using ActiveInterpolations = Vector<RefPtr<Interpolation>, 1>; | 39 using ActiveInterpolations = Vector<RefPtr<Interpolation>, 1>; |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| 43 #endif // Interpolation_h | 43 #endif // Interpolation_h |
| OLD | NEW |