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 <set> | 11 #include <set> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.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/display_list_raster_source.h" | 20 #include "cc/playback/raster_source.h" |
21 #include "cc/raster/tile_task_runner.h" | 21 #include "cc/raster/tile_task_runner.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/eviction_tile_priority_queue.h" | 24 #include "cc/tiles/eviction_tile_priority_queue.h" |
25 #include "cc/tiles/image_decode_controller.h" | 25 #include "cc/tiles/image_decode_controller.h" |
26 #include "cc/tiles/raster_tile_priority_queue.h" | 26 #include "cc/tiles/raster_tile_priority_queue.h" |
27 #include "cc/tiles/tile.h" | 27 #include "cc/tiles/tile.h" |
28 #include "cc/tiles/tile_draw_info.h" | 28 #include "cc/tiles/tile_draw_info.h" |
29 | 29 |
30 namespace base { | 30 namespace base { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 std::unordered_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_; | 337 std::unordered_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_; |
338 | 338 |
339 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 339 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
340 | 340 |
341 DISALLOW_COPY_AND_ASSIGN(TileManager); | 341 DISALLOW_COPY_AND_ASSIGN(TileManager); |
342 }; | 342 }; |
343 | 343 |
344 } // namespace cc | 344 } // namespace cc |
345 | 345 |
346 #endif // CC_TILES_TILE_MANAGER_H_ | 346 #endif // CC_TILES_TILE_MANAGER_H_ |
OLD | NEW |