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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 gfx::Size device_viewport_size() const; | 74 gfx::Size device_viewport_size() const; |
75 bool IsActiveTree() const; | 75 bool IsActiveTree() const; |
76 bool IsPendingTree() const; | 76 bool IsPendingTree() const; |
77 bool IsRecycleTree() const; | 77 bool IsRecycleTree() const; |
78 LayerImpl* FindActiveTreeLayerById(int id); | 78 LayerImpl* FindActiveTreeLayerById(int id); |
79 LayerImpl* FindPendingTreeLayerById(int id); | 79 LayerImpl* FindPendingTreeLayerById(int id); |
| 80 LayerImpl* FindRecycleTreeLayerById(int id); |
80 bool PinchGestureActive() const; | 81 bool PinchGestureActive() const; |
81 BeginFrameArgs CurrentBeginFrameArgs() const; | 82 BeginFrameArgs CurrentBeginFrameArgs() const; |
82 base::TimeDelta begin_impl_frame_interval() const; | 83 base::TimeDelta begin_impl_frame_interval() const; |
83 void SetNeedsCommit(); | 84 void SetNeedsCommit(); |
84 gfx::Rect DeviceViewport() const; | 85 gfx::Rect DeviceViewport() const; |
85 gfx::Size DrawViewportSize() const; | 86 gfx::Size DrawViewportSize() const; |
86 const gfx::Rect ViewportRectForTilePriority() const; | 87 const gfx::Rect ViewportRectForTilePriority() const; |
87 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
88 LayerImpl* scrolling_layer); | 89 LayerImpl* scrolling_layer); |
89 void DidAnimateScrollOffset(); | 90 void DidAnimateScrollOffset(); |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 | 390 |
390 scoped_ptr<PageScaleAnimation> page_scale_animation_; | 391 scoped_ptr<PageScaleAnimation> page_scale_animation_; |
391 | 392 |
392 private: | 393 private: |
393 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 394 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
394 }; | 395 }; |
395 | 396 |
396 } // namespace cc | 397 } // namespace cc |
397 | 398 |
398 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 399 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |