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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 24 matching lines...) Expand all Loading... |
35 class FrameRateCounter; | 35 class FrameRateCounter; |
36 class HeadsUpDisplayLayerImpl; | 36 class HeadsUpDisplayLayerImpl; |
37 class LayerExternalScrollOffsetListener; | 37 class LayerExternalScrollOffsetListener; |
38 class LayerScrollOffsetDelegate; | 38 class LayerScrollOffsetDelegate; |
39 class LayerTreeDebugState; | 39 class LayerTreeDebugState; |
40 class LayerTreeImpl; | 40 class LayerTreeImpl; |
41 class LayerTreeSettings; | 41 class LayerTreeSettings; |
42 class MemoryHistory; | 42 class MemoryHistory; |
43 class OutputSurface; | 43 class OutputSurface; |
44 class PageScaleAnimation; | 44 class PageScaleAnimation; |
45 class PaintTimeCounter; | |
46 class PictureLayerImpl; | 45 class PictureLayerImpl; |
47 class Proxy; | 46 class Proxy; |
48 class ResourceProvider; | 47 class ResourceProvider; |
49 class TileManager; | 48 class TileManager; |
50 class UIResourceRequest; | 49 class UIResourceRequest; |
51 class VideoFrameControllerClient; | 50 class VideoFrameControllerClient; |
52 struct PendingPageScaleAnimation; | 51 struct PendingPageScaleAnimation; |
53 struct RendererCapabilities; | 52 struct RendererCapabilities; |
54 | 53 |
55 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; | 54 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; |
(...skipping 20 matching lines...) Expand all Loading... |
76 // Methods called by the layer tree that pass-through or access LTHI. | 75 // Methods called by the layer tree that pass-through or access LTHI. |
77 // --------------------------------------------------------------------------- | 76 // --------------------------------------------------------------------------- |
78 const LayerTreeSettings& settings() const; | 77 const LayerTreeSettings& settings() const; |
79 const LayerTreeDebugState& debug_state() const; | 78 const LayerTreeDebugState& debug_state() const; |
80 const RendererCapabilitiesImpl& GetRendererCapabilities() const; | 79 const RendererCapabilitiesImpl& GetRendererCapabilities() const; |
81 ContextProvider* context_provider() const; | 80 ContextProvider* context_provider() const; |
82 OutputSurface* output_surface() const; | 81 OutputSurface* output_surface() const; |
83 ResourceProvider* resource_provider() const; | 82 ResourceProvider* resource_provider() const; |
84 TileManager* tile_manager() const; | 83 TileManager* tile_manager() const; |
85 FrameRateCounter* frame_rate_counter() const; | 84 FrameRateCounter* frame_rate_counter() const; |
86 PaintTimeCounter* paint_time_counter() const; | |
87 MemoryHistory* memory_history() const; | 85 MemoryHistory* memory_history() const; |
88 gfx::Size device_viewport_size() const; | 86 gfx::Size device_viewport_size() const; |
89 float device_scale_factor() const; | 87 float device_scale_factor() const; |
90 DebugRectHistory* debug_rect_history() const; | 88 DebugRectHistory* debug_rect_history() const; |
91 bool IsActiveTree() const; | 89 bool IsActiveTree() const; |
92 bool IsPendingTree() const; | 90 bool IsPendingTree() const; |
93 bool IsRecycleTree() const; | 91 bool IsRecycleTree() const; |
94 bool IsSyncTree() const; | 92 bool IsSyncTree() const; |
95 LayerImpl* FindActiveTreeLayerById(int id); | 93 LayerImpl* FindActiveTreeLayerById(int id); |
96 LayerImpl* FindPendingTreeLayerById(int id); | 94 LayerImpl* FindPendingTreeLayerById(int id); |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 | 479 |
482 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 480 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
483 | 481 |
484 private: | 482 private: |
485 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 483 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
486 }; | 484 }; |
487 | 485 |
488 } // namespace cc | 486 } // namespace cc |
489 | 487 |
490 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 488 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |