| 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_TREES_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 class TracedValue; | 30 class TracedValue; |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace cc { | 34 namespace cc { |
| 35 | 35 |
| 36 class ContextProvider; | 36 class ContextProvider; |
| 37 class DebugRectHistory; | 37 class DebugRectHistory; |
| 38 class FrameRateCounter; | 38 class FrameRateCounter; |
| 39 class HeadsUpDisplayLayerImpl; | 39 class HeadsUpDisplayLayerImpl; |
| 40 class ImageDecodeController; | 40 class ImageDecodeCache; |
| 41 class LayerTreeDebugState; | 41 class LayerTreeDebugState; |
| 42 class LayerTreeImpl; | 42 class LayerTreeImpl; |
| 43 class LayerTreeSettings; | 43 class LayerTreeSettings; |
| 44 class MemoryHistory; | 44 class MemoryHistory; |
| 45 class PictureLayerImpl; | 45 class PictureLayerImpl; |
| 46 class TaskRunnerProvider; | 46 class TaskRunnerProvider; |
| 47 class ResourceProvider; | 47 class ResourceProvider; |
| 48 class TileManager; | 48 class TileManager; |
| 49 class UIResourceRequest; | 49 class UIResourceRequest; |
| 50 class VideoFrameControllerClient; | 50 class VideoFrameControllerClient; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 70 void ReleaseTileResources(); | 70 void ReleaseTileResources(); |
| 71 void RecreateTileResources(); | 71 void RecreateTileResources(); |
| 72 | 72 |
| 73 // Methods called by the layer tree that pass-through or access LTHI. | 73 // Methods called by the layer tree that pass-through or access LTHI. |
| 74 // --------------------------------------------------------------------------- | 74 // --------------------------------------------------------------------------- |
| 75 const LayerTreeSettings& settings() const; | 75 const LayerTreeSettings& settings() const; |
| 76 const LayerTreeDebugState& debug_state() const; | 76 const LayerTreeDebugState& debug_state() const; |
| 77 ContextProvider* context_provider() const; | 77 ContextProvider* context_provider() const; |
| 78 ResourceProvider* resource_provider() const; | 78 ResourceProvider* resource_provider() const; |
| 79 TileManager* tile_manager() const; | 79 TileManager* tile_manager() const; |
| 80 ImageDecodeController* image_decode_controller() const; | 80 ImageDecodeCache* image_decode_cache() const; |
| 81 FrameRateCounter* frame_rate_counter() const; | 81 FrameRateCounter* frame_rate_counter() const; |
| 82 MemoryHistory* memory_history() const; | 82 MemoryHistory* memory_history() const; |
| 83 gfx::Size device_viewport_size() const; | 83 gfx::Size device_viewport_size() const; |
| 84 DebugRectHistory* debug_rect_history() const; | 84 DebugRectHistory* debug_rect_history() const; |
| 85 bool IsActiveTree() const; | 85 bool IsActiveTree() const; |
| 86 bool IsPendingTree() const; | 86 bool IsPendingTree() const; |
| 87 bool IsRecycleTree() const; | 87 bool IsRecycleTree() const; |
| 88 bool IsSyncTree() const; | 88 bool IsSyncTree() const; |
| 89 LayerImpl* FindActiveTreeLayerById(int id); | 89 LayerImpl* FindActiveTreeLayerById(int id); |
| 90 LayerImpl* FindPendingTreeLayerById(int id); | 90 LayerImpl* FindPendingTreeLayerById(int id); |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 | 561 |
| 562 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 562 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 563 | 563 |
| 564 private: | 564 private: |
| 565 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 565 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 566 }; | 566 }; |
| 567 | 567 |
| 568 } // namespace cc | 568 } // namespace cc |
| 569 | 569 |
| 570 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 570 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |