| 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 <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 const LayerTreeSettings& settings() const; | 65 const LayerTreeSettings& settings() const; |
| 66 const RendererCapabilitiesImpl& GetRendererCapabilities() const; | 66 const RendererCapabilitiesImpl& GetRendererCapabilities() const; |
| 67 ContextProvider* context_provider() const; | 67 ContextProvider* context_provider() const; |
| 68 OutputSurface* output_surface() const; | 68 OutputSurface* output_surface() const; |
| 69 ResourceProvider* resource_provider() const; | 69 ResourceProvider* resource_provider() const; |
| 70 TileManager* tile_manager() const; | 70 TileManager* tile_manager() const; |
| 71 FrameRateCounter* frame_rate_counter() const; | 71 FrameRateCounter* frame_rate_counter() const; |
| 72 PaintTimeCounter* paint_time_counter() const; | 72 PaintTimeCounter* paint_time_counter() const; |
| 73 MemoryHistory* memory_history() const; | 73 MemoryHistory* memory_history() const; |
| 74 bool device_viewport_valid_for_tile_management() const; | 74 bool device_viewport_valid_for_tile_management() const; |
| 75 gfx::Size device_viewport_size() const; |
| 75 bool IsActiveTree() const; | 76 bool IsActiveTree() const; |
| 76 bool IsPendingTree() const; | 77 bool IsPendingTree() const; |
| 77 bool IsRecycleTree() const; | 78 bool IsRecycleTree() const; |
| 78 LayerImpl* FindActiveTreeLayerById(int id); | 79 LayerImpl* FindActiveTreeLayerById(int id); |
| 79 LayerImpl* FindPendingTreeLayerById(int id); | 80 LayerImpl* FindPendingTreeLayerById(int id); |
| 80 int MaxTextureSize() const; | 81 int MaxTextureSize() const; |
| 81 bool PinchGestureActive() const; | 82 bool PinchGestureActive() const; |
| 82 base::TimeTicks CurrentFrameTimeTicks() const; | 83 base::TimeTicks CurrentFrameTimeTicks() const; |
| 83 void SetNeedsCommit(); | 84 void SetNeedsCommit(); |
| 84 gfx::Size DrawViewportSize() const; | 85 gfx::Size DrawViewportSize() const; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 295 |
| 295 UIResourceRequestQueue ui_resource_request_queue_; | 296 UIResourceRequestQueue ui_resource_request_queue_; |
| 296 | 297 |
| 297 private: | 298 private: |
| 298 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 299 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace cc | 302 } // namespace cc |
| 302 | 303 |
| 303 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 304 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |