OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/animation/Animation.h" | 32 #include "core/animation/Animation.h" |
33 | 33 |
34 #include "bindings/core/v8/Dictionary.h" | 34 #include "bindings/core/v8/Dictionary.h" |
35 #include "bindings/core/v8/ExceptionState.h" | 35 #include "bindings/core/v8/ExceptionState.h" |
36 #include "core/animation/ActiveAnimations.h" | 36 #include "core/animation/ActiveAnimations.h" |
37 #include "core/animation/AnimationHelpers.h" | 37 #include "core/animation/AnimationHelpers.h" |
38 #include "core/animation/AnimationPlayer.h" | 38 #include "core/animation/AnimationPlayer.h" |
39 #include "core/animation/AnimationTimeline.h" | 39 #include "core/animation/AnimationTimeline.h" |
40 #include "core/animation/CompositorAnimations.h" | 40 #include "core/animation/CompositorAnimations.h" |
| 41 #include "core/animation/Interpolation.h" |
41 #include "core/animation/KeyframeEffectModel.h" | 42 #include "core/animation/KeyframeEffectModel.h" |
42 #include "core/animation/interpolation/Interpolation.h" | |
43 #include "core/dom/Element.h" | 43 #include "core/dom/Element.h" |
44 #include "core/frame/UseCounter.h" | 44 #include "core/frame/UseCounter.h" |
45 #include "core/rendering/RenderLayer.h" | 45 #include "core/rendering/RenderLayer.h" |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 | 48 |
49 PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* target, PassRefPtrW
illBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, Pa
ssOwnPtr<EventDelegate> eventDelegate) | 49 PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* target, PassRefPtrW
illBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, Pa
ssOwnPtr<EventDelegate> eventDelegate) |
50 { | 50 { |
51 return adoptRefWillBeNoop(new Animation(target, effect, timing, priority, ev
entDelegate)); | 51 return adoptRefWillBeNoop(new Animation(target, effect, timing, priority, ev
entDelegate)); |
52 } | 52 } |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 307 |
308 void Animation::trace(Visitor* visitor) | 308 void Animation::trace(Visitor* visitor) |
309 { | 309 { |
310 visitor->trace(m_target); | 310 visitor->trace(m_target); |
311 visitor->trace(m_effect); | 311 visitor->trace(m_effect); |
312 visitor->trace(m_sampledEffect); | 312 visitor->trace(m_sampledEffect); |
313 AnimationNode::trace(visitor); | 313 AnimationNode::trace(visitor); |
314 } | 314 } |
315 | 315 |
316 } // namespace blink | 316 } // namespace blink |
OLD | NEW |