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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 float device_scale_factor() const; | 89 float device_scale_factor() const; |
90 DebugRectHistory* debug_rect_history() const; | 90 DebugRectHistory* debug_rect_history() const; |
91 bool IsActiveTree() const; | 91 bool IsActiveTree() const; |
92 bool IsPendingTree() const; | 92 bool IsPendingTree() const; |
93 bool IsRecycleTree() const; | 93 bool IsRecycleTree() const; |
94 bool IsSyncTree() const; | 94 bool IsSyncTree() const; |
95 LayerImpl* FindActiveTreeLayerById(int id); | 95 LayerImpl* FindActiveTreeLayerById(int id); |
96 LayerImpl* FindPendingTreeLayerById(int id); | 96 LayerImpl* FindPendingTreeLayerById(int id); |
97 bool PinchGestureActive() const; | 97 bool PinchGestureActive() const; |
98 BeginFrameArgs CurrentBeginFrameArgs() const; | 98 BeginFrameArgs CurrentBeginFrameArgs() const; |
99 base::TimeDelta CurrentBeginFrameInterval() const; | 99 base::TimeDelta begin_impl_frame_interval() const; |
100 void SetNeedsCommit(); | 100 void SetNeedsCommit(); |
101 gfx::Rect DeviceViewport() const; | 101 gfx::Rect DeviceViewport() const; |
102 gfx::Size DrawViewportSize() const; | 102 gfx::Size DrawViewportSize() const; |
103 const gfx::Rect ViewportRectForTilePriority() const; | 103 const gfx::Rect ViewportRectForTilePriority() const; |
104 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 104 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
105 LayerImpl* scrolling_layer); | 105 LayerImpl* scrolling_layer); |
106 void DidAnimateScrollOffset(); | 106 void DidAnimateScrollOffset(); |
107 void InputScrollAnimationFinished(); | 107 void InputScrollAnimationFinished(); |
108 bool use_gpu_rasterization() const; | 108 bool use_gpu_rasterization() const; |
109 GpuRasterizationStatus GetGpuRasterizationStatus() const; | 109 GpuRasterizationStatus GetGpuRasterizationStatus() const; |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 | 426 |
427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
428 | 428 |
429 private: | 429 private: |
430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
431 }; | 431 }; |
432 | 432 |
433 } // namespace cc | 433 } // namespace cc |
434 | 434 |
435 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 435 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |