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 25 matching lines...) Expand all Loading... |
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 ImageDecodeController; |
41 class LayerExternalScrollOffsetListener; | 41 class LayerExternalScrollOffsetListener; |
42 class LayerTreeDebugState; | 42 class LayerTreeDebugState; |
43 class LayerTreeImpl; | 43 class LayerTreeImpl; |
44 class LayerTreeSettings; | 44 class LayerTreeSettings; |
45 class MemoryHistory; | 45 class MemoryHistory; |
46 class OutputSurface; | |
47 class PageScaleAnimation; | 46 class PageScaleAnimation; |
48 class PictureLayerImpl; | 47 class PictureLayerImpl; |
49 class TaskRunnerProvider; | 48 class TaskRunnerProvider; |
50 class ResourceProvider; | 49 class ResourceProvider; |
51 class TileManager; | 50 class TileManager; |
52 class UIResourceRequest; | 51 class UIResourceRequest; |
53 class VideoFrameControllerClient; | 52 class VideoFrameControllerClient; |
54 struct PendingPageScaleAnimation; | 53 struct PendingPageScaleAnimation; |
55 | 54 |
56 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; | 55 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; |
(...skipping 13 matching lines...) Expand all Loading... |
70 | 69 |
71 void Shutdown(); | 70 void Shutdown(); |
72 void ReleaseResources(); | 71 void ReleaseResources(); |
73 void RecreateResources(); | 72 void RecreateResources(); |
74 | 73 |
75 // Methods called by the layer tree that pass-through or access LTHI. | 74 // Methods called by the layer tree that pass-through or access LTHI. |
76 // --------------------------------------------------------------------------- | 75 // --------------------------------------------------------------------------- |
77 const LayerTreeSettings& settings() const; | 76 const LayerTreeSettings& settings() const; |
78 const LayerTreeDebugState& debug_state() const; | 77 const LayerTreeDebugState& debug_state() const; |
79 ContextProvider* context_provider() const; | 78 ContextProvider* context_provider() const; |
80 OutputSurface* output_surface() const; | |
81 ResourceProvider* resource_provider() const; | 79 ResourceProvider* resource_provider() const; |
82 TileManager* tile_manager() const; | 80 TileManager* tile_manager() const; |
83 ImageDecodeController* image_decode_controller() const; | 81 ImageDecodeController* image_decode_controller() const; |
84 FrameRateCounter* frame_rate_counter() const; | 82 FrameRateCounter* frame_rate_counter() const; |
85 MemoryHistory* memory_history() const; | 83 MemoryHistory* memory_history() const; |
86 gfx::Size device_viewport_size() const; | 84 gfx::Size device_viewport_size() const; |
87 DebugRectHistory* debug_rect_history() const; | 85 DebugRectHistory* debug_rect_history() const; |
88 bool IsActiveTree() const; | 86 bool IsActiveTree() const; |
89 bool IsPendingTree() const; | 87 bool IsPendingTree() const; |
90 bool IsRecycleTree() const; | 88 bool IsRecycleTree() const; |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 | 552 |
555 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 553 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
556 | 554 |
557 private: | 555 private: |
558 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 556 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
559 }; | 557 }; |
560 | 558 |
561 } // namespace cc | 559 } // namespace cc |
562 | 560 |
563 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 561 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |