OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TILES_TILE_MANAGER_H_ | 5 #ifndef CC_TILES_TILE_MANAGER_H_ |
6 #define CC_TILES_TILE_MANAGER_H_ | 6 #define CC_TILES_TILE_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <unordered_map> | 13 #include <unordered_map> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/sequenced_task_runner.h" |
18 #include "base/values.h" | 19 #include "base/values.h" |
19 #include "cc/base/unique_notifier.h" | 20 #include "cc/base/unique_notifier.h" |
20 #include "cc/raster/raster_buffer_provider.h" | 21 #include "cc/raster/raster_buffer_provider.h" |
21 #include "cc/raster/raster_source.h" | 22 #include "cc/raster/raster_source.h" |
22 #include "cc/resources/memory_history.h" | 23 #include "cc/resources/memory_history.h" |
23 #include "cc/resources/resource_pool.h" | 24 #include "cc/resources/resource_pool.h" |
24 #include "cc/tiles/checker_image_tracker.h" | 25 #include "cc/tiles/checker_image_tracker.h" |
25 #include "cc/tiles/decoded_image_tracker.h" | 26 #include "cc/tiles/decoded_image_tracker.h" |
26 #include "cc/tiles/eviction_tile_priority_queue.h" | 27 #include "cc/tiles/eviction_tile_priority_queue.h" |
27 #include "cc/tiles/image_controller.h" | 28 #include "cc/tiles/image_controller.h" |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 405 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
405 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. | 406 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. |
406 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; | 407 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; |
407 | 408 |
408 DISALLOW_COPY_AND_ASSIGN(TileManager); | 409 DISALLOW_COPY_AND_ASSIGN(TileManager); |
409 }; | 410 }; |
410 | 411 |
411 } // namespace cc | 412 } // namespace cc |
412 | 413 |
413 #endif // CC_TILES_TILE_MANAGER_H_ | 414 #endif // CC_TILES_TILE_MANAGER_H_ |
OLD | NEW |