OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <stack> | 8 #include <stack> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "cc/animation/animation_registrar.h" | 17 #include "cc/animation/animation_registrar.h" |
18 #include "cc/animation/layer_animation_controller.h" | 18 #include "cc/animation/layer_animation_controller.h" |
19 #include "cc/base/math_util.h" | 19 #include "cc/base/math_util.h" |
20 #include "cc/debug/benchmark_instrumentation.h" | 20 #include "cc/debug/benchmark_instrumentation.h" |
21 #include "cc/debug/overdraw_metrics.h" | 21 #include "cc/debug/overdraw_metrics.h" |
22 #include "cc/debug/rendering_stats_instrumentation.h" | 22 #include "cc/debug/rendering_stats_instrumentation.h" |
23 #include "cc/input/top_controls_manager.h" | 23 #include "cc/input/top_controls_manager.h" |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); | 1059 for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); |
1060 iter != copy.end(); | 1060 iter != copy.end(); |
1061 ++iter) { | 1061 ++iter) { |
1062 (*iter).second->Animate(monotonic_time); | 1062 (*iter).second->Animate(monotonic_time); |
1063 bool start_ready_animations = true; | 1063 bool start_ready_animations = true; |
1064 (*iter).second->UpdateState(start_ready_animations, NULL); | 1064 (*iter).second->UpdateState(start_ready_animations, NULL); |
1065 } | 1065 } |
1066 } | 1066 } |
1067 | 1067 |
1068 } // namespace cc | 1068 } // namespace cc |
OLD | NEW |