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 #include "sky/engine/config.h" | |
6 #include "sky/engine/core/animation/StringKeyframe.h" | 5 #include "sky/engine/core/animation/StringKeyframe.h" |
7 | 6 |
8 #include "sky/engine/core/animation/DefaultStyleInterpolation.h" | 7 #include "sky/engine/core/animation/DefaultStyleInterpolation.h" |
9 #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h" | 8 #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h" |
10 #include "sky/engine/core/animation/LegacyStyleInterpolation.h" | 9 #include "sky/engine/core/animation/LegacyStyleInterpolation.h" |
11 #include "sky/engine/core/animation/LengthStyleInterpolation.h" | 10 #include "sky/engine/core/animation/LengthStyleInterpolation.h" |
12 #include "sky/engine/core/animation/css/CSSAnimations.h" | 11 #include "sky/engine/core/animation/css/CSSAnimations.h" |
13 #include "sky/engine/core/css/CSSPropertyMetadata.h" | 12 #include "sky/engine/core/css/CSSPropertyMetadata.h" |
14 #include "sky/engine/core/css/resolver/StyleResolver.h" | 13 #include "sky/engine/core/css/resolver/StyleResolver.h" |
15 #include "sky/engine/core/rendering/style/RenderStyle.h" | 14 #include "sky/engine/core/rendering/style/RenderStyle.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 } | 129 } |
131 | 130 |
132 PassOwnPtr<Keyframe::PropertySpecificKeyframe> StringKeyframe::PropertySpecificK
eyframe::cloneWithOffset(double offset) const | 131 PassOwnPtr<Keyframe::PropertySpecificKeyframe> StringKeyframe::PropertySpecificK
eyframe::cloneWithOffset(double offset) const |
133 { | 132 { |
134 Keyframe::PropertySpecificKeyframe* theClone = new PropertySpecificKeyframe(
offset, m_easing, m_value.get()); | 133 Keyframe::PropertySpecificKeyframe* theClone = new PropertySpecificKeyframe(
offset, m_easing, m_value.get()); |
135 toStringPropertySpecificKeyframe(theClone)->m_animatableValueCache = m_anima
tableValueCache; | 134 toStringPropertySpecificKeyframe(theClone)->m_animatableValueCache = m_anima
tableValueCache; |
136 return adoptPtr(theClone); | 135 return adoptPtr(theClone); |
137 } | 136 } |
138 | 137 |
139 } | 138 } |
OLD | NEW |