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 <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <memory> | 11 #include <memory> |
12 #include <stack> | 12 #include <stack> |
13 #include <string> | 13 #include <string> |
14 #include <unordered_map> | 14 #include <unordered_map> |
15 | 15 |
16 #include "base/atomic_sequence_num.h" | 16 #include "base/atomic_sequence_num.h" |
17 #include "base/bind.h" | 17 #include "base/bind.h" |
18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
19 #include "base/location.h" | 19 #include "base/location.h" |
20 #include "base/memory/ptr_util.h" | 20 #include "base/memory/ptr_util.h" |
21 #include "base/metrics/histogram.h" | 21 #include "base/metrics/histogram_macros.h" |
22 #include "base/numerics/safe_math.h" | 22 #include "base/numerics/safe_math.h" |
23 #include "base/single_thread_task_runner.h" | 23 #include "base/single_thread_task_runner.h" |
24 #include "base/stl_util.h" | 24 #include "base/stl_util.h" |
25 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
26 #include "base/threading/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" |
27 #include "base/trace_event/trace_event.h" | 27 #include "base/trace_event/trace_event.h" |
28 #include "base/trace_event/trace_event_argument.h" | 28 #include "base/trace_event/trace_event_argument.h" |
29 #include "cc/animation/animation_events.h" | 29 #include "cc/animation/animation_events.h" |
30 #include "cc/animation/animation_host.h" | 30 #include "cc/animation/animation_host.h" |
31 #include "cc/base/math_util.h" | 31 #include "cc/base/math_util.h" |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 | 1108 |
1109 surface_client_id_ = proto.surface_client_id(); | 1109 surface_client_id_ = proto.surface_client_id(); |
1110 next_surface_sequence_ = proto.next_surface_sequence(); | 1110 next_surface_sequence_ = proto.next_surface_sequence(); |
1111 } | 1111 } |
1112 | 1112 |
1113 AnimationHost* LayerTreeHost::animation_host() const { | 1113 AnimationHost* LayerTreeHost::animation_host() const { |
1114 return layer_tree_->animation_host(); | 1114 return layer_tree_->animation_host(); |
1115 } | 1115 } |
1116 | 1116 |
1117 } // namespace cc | 1117 } // namespace cc |
OLD | NEW |