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