| 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 AnimatableValueKeyframe_h | 5 #ifndef SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUEKEYFRAME_H_ |
| 6 #define AnimatableValueKeyframe_h | 6 #define SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUEKEYFRAME_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/animation/Keyframe.h" | 8 #include "sky/engine/core/animation/Keyframe.h" |
| 9 #include "sky/engine/core/animation/animatable/AnimatableValue.h" | 9 #include "sky/engine/core/animation/animatable/AnimatableValue.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class AnimatableValueKeyframe : public Keyframe { | 13 class AnimatableValueKeyframe : public Keyframe { |
| 14 public: | 14 public: |
| 15 static PassRefPtr<AnimatableValueKeyframe> create() | 15 static PassRefPtr<AnimatableValueKeyframe> create() |
| 16 { | 16 { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 PropertyValueMap m_propertyValues; | 61 PropertyValueMap m_propertyValues; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 typedef AnimatableValueKeyframe::PropertySpecificKeyframe AnimatableValuePropert
ySpecificKeyframe; | 64 typedef AnimatableValueKeyframe::PropertySpecificKeyframe AnimatableValuePropert
ySpecificKeyframe; |
| 65 | 65 |
| 66 DEFINE_TYPE_CASTS(AnimatableValueKeyframe, Keyframe, value, value->isAnimatableV
alueKeyframe(), value.isAnimatableValueKeyframe()); | 66 DEFINE_TYPE_CASTS(AnimatableValueKeyframe, Keyframe, value, value->isAnimatableV
alueKeyframe(), value.isAnimatableValueKeyframe()); |
| 67 DEFINE_TYPE_CASTS(AnimatableValuePropertySpecificKeyframe, Keyframe::PropertySpe
cificKeyframe, value, value->isAnimatableValuePropertySpecificKeyframe(), value.
isAnimatableValuePropertySpecificKeyframe()); | 67 DEFINE_TYPE_CASTS(AnimatableValuePropertySpecificKeyframe, Keyframe::PropertySpe
cificKeyframe, value, value->isAnimatableValuePropertySpecificKeyframe(), value.
isAnimatableValuePropertySpecificKeyframe()); |
| 68 | 68 |
| 69 } | 69 } |
| 70 | 70 |
| 71 #endif | 71 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUEKEYFRAME_H_ |
| OLD | NEW |