| 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 "config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "core/animation/AnimationNodeTiming.h" | 6 #include "sky/engine/core/animation/AnimationNodeTiming.h" |
| 7 | 7 |
| 8 #include "core/animation/Animation.h" | 8 #include "sky/engine/core/animation/Animation.h" |
| 9 #include "core/animation/AnimationNode.h" | 9 #include "sky/engine/core/animation/AnimationNode.h" |
| 10 #include "platform/animation/TimingFunction.h" | 10 #include "sky/engine/platform/animation/TimingFunction.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 PassRefPtr<AnimationNodeTiming> AnimationNodeTiming::create(AnimationNode* paren
t) | 14 PassRefPtr<AnimationNodeTiming> AnimationNodeTiming::create(AnimationNode* paren
t) |
| 15 { | 15 { |
| 16 return adoptRef(new AnimationNodeTiming(parent)); | 16 return adoptRef(new AnimationNodeTiming(parent)); |
| 17 } | 17 } |
| 18 | 18 |
| 19 AnimationNodeTiming::AnimationNodeTiming(AnimationNode* parent) | 19 AnimationNodeTiming::AnimationNodeTiming(AnimationNode* parent) |
| 20 : m_parent(parent) | 20 : m_parent(parent) |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 } | 164 } |
| 165 | 165 |
| 166 void AnimationNodeTiming::setEasing(String easing) | 166 void AnimationNodeTiming::setEasing(String easing) |
| 167 { | 167 { |
| 168 Timing timing = m_parent->specifiedTiming(); | 168 Timing timing = m_parent->specifiedTiming(); |
| 169 TimingInput::setTimingFunction(timing, easing); | 169 TimingInput::setTimingFunction(timing, easing); |
| 170 m_parent->updateSpecifiedTiming(timing); | 170 m_parent->updateSpecifiedTiming(timing); |
| 171 } | 171 } |
| 172 | 172 |
| 173 } // namespace blink | 173 } // namespace blink |
| OLD | NEW |