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 24 matching lines...) Expand all Loading... |
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/AnimationPlayer.h" | 37 #include "core/animation/AnimationPlayer.h" |
38 #include "core/animation/AnimationTimeline.h" | 38 #include "core/animation/AnimationTimeline.h" |
39 #include "core/animation/CompositorAnimations.h" | 39 #include "core/animation/CompositorAnimations.h" |
40 #include "core/animation/Interpolation.h" | 40 #include "core/animation/Interpolation.h" |
41 #include "core/animation/KeyframeEffectModel.h" | 41 #include "core/animation/KeyframeEffectModel.h" |
42 #include "core/dom/Element.h" | 42 #include "core/dom/Element.h" |
43 #include "core/dom/NodeRenderStyle.h" | 43 #include "core/dom/NodeRenderStyle.h" |
44 #include "core/frame/UseCounter.h" | 44 #include "core/frame/UseCounter.h" |
45 #include "core/rendering/RenderLayer.h" | 45 #include "core/layout/Layer.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
ssOwnPtrWillBeRawPtr<EventDelegate> eventDelegate) | 49 PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* target, PassRefPtrW
illBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, Pa
ssOwnPtrWillBeRawPtr<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 } |
53 | 53 |
54 PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* element, PassRefPtr
WillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) | 54 PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* element, PassRefPtr
WillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) |
55 { | 55 { |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 | 317 |
318 void Animation::trace(Visitor* visitor) | 318 void Animation::trace(Visitor* visitor) |
319 { | 319 { |
320 visitor->trace(m_target); | 320 visitor->trace(m_target); |
321 visitor->trace(m_effect); | 321 visitor->trace(m_effect); |
322 visitor->trace(m_sampledEffect); | 322 visitor->trace(m_sampledEffect); |
323 AnimationNode::trace(visitor); | 323 AnimationNode::trace(visitor); |
324 } | 324 } |
325 | 325 |
326 } // namespace blink | 326 } // namespace blink |
OLD | NEW |