OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "cc/animation/animation.h" | 5 #include "cc/animation/animation.h" |
6 #include "ui/compositor/layer_animation_sequence.h" | 6 #include "ui/compositor/layer_animation_sequence.h" |
7 #include "ui/compositor/test/layer_animator_test_controller.h" | 7 #include "ui/compositor/test/layer_animator_test_controller.h" |
8 #include "ui/gfx/frame_time.h" | 8 #include "ui/gfx/frame_time.h" |
9 #include "ui/gfx/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 LayerAnimatorTestController::LayerAnimatorTestController( | 13 LayerAnimatorTestController::LayerAnimatorTestController( |
14 scoped_refptr<LayerAnimator> animator) | 14 scoped_refptr<LayerAnimator> animator) |
15 : animator_(animator) { | 15 : animator_(animator) { |
16 } | 16 } |
17 | 17 |
18 LayerAnimatorTestController::~LayerAnimatorTestController() { | 18 LayerAnimatorTestController::~LayerAnimatorTestController() { |
19 } | 19 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 animator_->OnThreadedAnimationStarted( | 51 animator_->OnThreadedAnimationStarted( |
52 cc::AnimationEvent(cc::AnimationEvent::Started, | 52 cc::AnimationEvent(cc::AnimationEvent::Started, |
53 0, | 53 0, |
54 element->animation_group_id(), | 54 element->animation_group_id(), |
55 threaded_properties[i], | 55 threaded_properties[i], |
56 gfx::FrameTime::Now())); | 56 gfx::FrameTime::Now())); |
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 } // namespace ui | 60 } // namespace ui |
OLD | NEW |