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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <limits> | 11 #include <limits> |
12 #include <memory> | 12 #include <memory> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 #include <unordered_map> | 15 #include <unordered_map> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/cancelable_callback.h" | 18 #include "base/cancelable_callback.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
| 22 #include "base/single_thread_task_runner.h" |
22 #include "base/time/time.h" | 23 #include "base/time/time.h" |
23 #include "cc/benchmarks/micro_benchmark.h" | 24 #include "cc/benchmarks/micro_benchmark.h" |
24 #include "cc/benchmarks/micro_benchmark_controller.h" | 25 #include "cc/benchmarks/micro_benchmark_controller.h" |
25 #include "cc/cc_export.h" | 26 #include "cc/cc_export.h" |
26 #include "cc/input/browser_controls_state.h" | 27 #include "cc/input/browser_controls_state.h" |
27 #include "cc/input/event_listener_properties.h" | 28 #include "cc/input/event_listener_properties.h" |
28 #include "cc/input/input_handler.h" | 29 #include "cc/input/input_handler.h" |
29 #include "cc/input/layer_selection_bound.h" | 30 #include "cc/input/layer_selection_bound.h" |
30 #include "cc/input/scrollbar.h" | 31 #include "cc/input/scrollbar.h" |
31 #include "cc/layers/layer_collections.h" | 32 #include "cc/layers/layer_collections.h" |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 | 625 |
625 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> | 626 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> |
626 queued_image_decodes_; | 627 queued_image_decodes_; |
627 | 628 |
628 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 629 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
629 }; | 630 }; |
630 | 631 |
631 } // namespace cc | 632 } // namespace cc |
632 | 633 |
633 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 634 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |