| 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 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "cc/tiles/tile_task_manager.h" | 29 #include "cc/tiles/tile_task_manager.h" |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 namespace trace_event { | 32 namespace trace_event { |
| 33 class ConvertableToTraceFormat; | 33 class ConvertableToTraceFormat; |
| 34 class TracedValue; | 34 class TracedValue; |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace cc { | 38 namespace cc { |
| 39 class PictureLayerImpl; | |
| 40 class ResourceProvider; | |
| 41 class ImageDecodeController; | 39 class ImageDecodeController; |
| 42 | 40 |
| 43 class CC_EXPORT TileManagerClient { | 41 class CC_EXPORT TileManagerClient { |
| 44 public: | 42 public: |
| 45 // Called when all tiles marked as required for activation are ready to draw. | 43 // Called when all tiles marked as required for activation are ready to draw. |
| 46 virtual void NotifyReadyToActivate() = 0; | 44 virtual void NotifyReadyToActivate() = 0; |
| 47 | 45 |
| 48 // Called when all tiles marked as required for draw are ready to draw. | 46 // Called when all tiles marked as required for draw are ready to draw. |
| 49 virtual void NotifyReadyToDraw() = 0; | 47 virtual void NotifyReadyToDraw() = 0; |
| 50 | 48 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 std::vector<scoped_refptr<TileTask>> locked_image_tasks_; | 349 std::vector<scoped_refptr<TileTask>> locked_image_tasks_; |
| 352 | 350 |
| 353 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 351 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
| 354 | 352 |
| 355 DISALLOW_COPY_AND_ASSIGN(TileManager); | 353 DISALLOW_COPY_AND_ASSIGN(TileManager); |
| 356 }; | 354 }; |
| 357 | 355 |
| 358 } // namespace cc | 356 } // namespace cc |
| 359 | 357 |
| 360 #endif // CC_TILES_TILE_MANAGER_H_ | 358 #endif // CC_TILES_TILE_MANAGER_H_ |
| OLD | NEW |