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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/cancelable_callback.h" | 14 #include "base/cancelable_callback.h" |
15 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
20 #include "base/timer/timer.h" | 20 #include "base/timer/timer.h" |
21 #include "cc/animation/animation_events.h" | 21 #include "cc/animation/animation_events.h" |
22 #include "cc/base/cc_export.h" | 22 #include "cc/base/cc_export.h" |
23 #include "cc/base/scoped_ptr_vector.h" | 23 #include "cc/base/scoped_ptr_vector.h" |
24 #include "cc/base/swap_promise.h" | |
25 #include "cc/base/swap_promise_monitor.h" | |
26 #include "cc/debug/micro_benchmark.h" | 24 #include "cc/debug/micro_benchmark.h" |
27 #include "cc/debug/micro_benchmark_controller.h" | 25 #include "cc/debug/micro_benchmark_controller.h" |
28 #include "cc/input/input_handler.h" | 26 #include "cc/input/input_handler.h" |
29 #include "cc/input/layer_selection_bound.h" | 27 #include "cc/input/layer_selection_bound.h" |
30 #include "cc/input/scrollbar.h" | 28 #include "cc/input/scrollbar.h" |
31 #include "cc/input/top_controls_state.h" | 29 #include "cc/input/top_controls_state.h" |
32 #include "cc/layers/layer_lists.h" | 30 #include "cc/layers/layer_lists.h" |
33 #include "cc/output/output_surface.h" | 31 #include "cc/output/output_surface.h" |
| 32 #include "cc/output/swap_promise.h" |
34 #include "cc/resources/resource_format.h" | 33 #include "cc/resources/resource_format.h" |
35 #include "cc/resources/scoped_ui_resource.h" | 34 #include "cc/resources/scoped_ui_resource.h" |
36 #include "cc/surfaces/surface_sequence.h" | 35 #include "cc/surfaces/surface_sequence.h" |
37 #include "cc/trees/layer_tree_host_client.h" | 36 #include "cc/trees/layer_tree_host_client.h" |
38 #include "cc/trees/layer_tree_host_common.h" | 37 #include "cc/trees/layer_tree_host_common.h" |
39 #include "cc/trees/layer_tree_settings.h" | 38 #include "cc/trees/layer_tree_settings.h" |
40 #include "cc/trees/proxy.h" | 39 #include "cc/trees/proxy.h" |
| 40 #include "cc/trees/swap_promise_monitor.h" |
41 #include "third_party/skia/include/core/SkColor.h" | 41 #include "third_party/skia/include/core/SkColor.h" |
42 #include "ui/gfx/geometry/rect.h" | 42 #include "ui/gfx/geometry/rect.h" |
43 | 43 |
44 namespace gpu { | 44 namespace gpu { |
45 class GpuMemoryBufferManager; | 45 class GpuMemoryBufferManager; |
46 } | 46 } |
47 | 47 |
48 namespace cc { | 48 namespace cc { |
49 class AnimationRegistrar; | 49 class AnimationRegistrar; |
50 class BeginFrameSource; | 50 class BeginFrameSource; |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 463 |
464 uint32_t surface_id_namespace_; | 464 uint32_t surface_id_namespace_; |
465 uint32_t next_surface_sequence_; | 465 uint32_t next_surface_sequence_; |
466 | 466 |
467 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 467 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
468 }; | 468 }; |
469 | 469 |
470 } // namespace cc | 470 } // namespace cc |
471 | 471 |
472 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 472 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |