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/values.h" | 18 #include "base/values.h" |
19 #include "cc/base/unique_notifier.h" | 19 #include "cc/base/unique_notifier.h" |
20 #include "cc/playback/raster_source.h" | |
21 #include "cc/raster/raster_buffer_provider.h" | 20 #include "cc/raster/raster_buffer_provider.h" |
| 21 #include "cc/raster/raster_source.h" |
22 #include "cc/resources/memory_history.h" | 22 #include "cc/resources/memory_history.h" |
23 #include "cc/resources/resource_pool.h" | 23 #include "cc/resources/resource_pool.h" |
24 #include "cc/tiles/checker_image_tracker.h" | 24 #include "cc/tiles/checker_image_tracker.h" |
25 #include "cc/tiles/decoded_image_tracker.h" | 25 #include "cc/tiles/decoded_image_tracker.h" |
26 #include "cc/tiles/eviction_tile_priority_queue.h" | 26 #include "cc/tiles/eviction_tile_priority_queue.h" |
27 #include "cc/tiles/image_controller.h" | 27 #include "cc/tiles/image_controller.h" |
28 #include "cc/tiles/raster_tile_priority_queue.h" | 28 #include "cc/tiles/raster_tile_priority_queue.h" |
29 #include "cc/tiles/tile.h" | 29 #include "cc/tiles/tile.h" |
30 #include "cc/tiles/tile_draw_info.h" | 30 #include "cc/tiles/tile_draw_info.h" |
31 #include "cc/tiles/tile_manager_settings.h" | 31 #include "cc/tiles/tile_manager_settings.h" |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 375 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
376 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. | 376 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. |
377 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; | 377 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; |
378 | 378 |
379 DISALLOW_COPY_AND_ASSIGN(TileManager); | 379 DISALLOW_COPY_AND_ASSIGN(TileManager); |
380 }; | 380 }; |
381 | 381 |
382 } // namespace cc | 382 } // namespace cc |
383 | 383 |
384 #endif // CC_TILES_TILE_MANAGER_H_ | 384 #endif // CC_TILES_TILE_MANAGER_H_ |
OLD | NEW |