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 "core/animation/animatable/AnimatableValueKeyframe.h" | 5 #include "core/animation/animatable/AnimatableValueKeyframe.h" |
6 | 6 |
7 #include "core/animation/LegacyStyleInterpolation.h" | 7 #include "core/animation/LegacyStyleInterpolation.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 { | 56 { |
57 AnimatableValuePropertySpecificKeyframe& to = toAnimatableValuePropertySpeci
ficKeyframe(end); | 57 AnimatableValuePropertySpecificKeyframe& to = toAnimatableValuePropertySpeci
ficKeyframe(end); |
58 return LegacyStyleInterpolation::create(value(), to.value(), property.cssPro
perty()); | 58 return LegacyStyleInterpolation::create(value(), to.value(), property.cssPro
perty()); |
59 } | 59 } |
60 | 60 |
61 PassOwnPtr<Keyframe::PropertySpecificKeyframe> AnimatableValueKeyframe::Property
SpecificKeyframe::neutralKeyframe(double offset, PassRefPtr<TimingFunction> easi
ng) const | 61 PassOwnPtr<Keyframe::PropertySpecificKeyframe> AnimatableValueKeyframe::Property
SpecificKeyframe::neutralKeyframe(double offset, PassRefPtr<TimingFunction> easi
ng) const |
62 { | 62 { |
63 return adoptPtr(new AnimatableValueKeyframe::PropertySpecificKeyframe(offset
, easing, AnimatableValue::neutralValue(), EffectModel::CompositeAdd)); | 63 return adoptPtr(new AnimatableValueKeyframe::PropertySpecificKeyframe(offset
, easing, AnimatableValue::neutralValue(), EffectModel::CompositeAdd)); |
64 } | 64 } |
65 | 65 |
66 } | 66 } // namespace blink |
OLD | NEW |