| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool IsActiveTree() const; | 85 bool IsActiveTree() const; |
| 86 bool IsPendingTree() const; | 86 bool IsPendingTree() const; |
| 87 bool IsRecycleTree() const; | 87 bool IsRecycleTree() const; |
| 88 bool IsSyncTree() const; | 88 bool IsSyncTree() const; |
| 89 LayerImpl* FindActiveTreeLayerById(int id); | 89 LayerImpl* FindActiveTreeLayerById(int id); |
| 90 LayerImpl* FindPendingTreeLayerById(int id); | 90 LayerImpl* FindPendingTreeLayerById(int id); |
| 91 bool PinchGestureActive() const; | 91 bool PinchGestureActive() const; |
| 92 BeginFrameArgs CurrentBeginFrameArgs() const; | 92 BeginFrameArgs CurrentBeginFrameArgs() const; |
| 93 base::TimeDelta CurrentBeginFrameInterval() const; | 93 base::TimeDelta CurrentBeginFrameInterval() const; |
| 94 gfx::Rect DeviceViewport() const; | 94 gfx::Rect DeviceViewport() const; |
| 95 gfx::Size DrawViewportSize() const; | |
| 96 const gfx::Rect ViewportRectForTilePriority() const; | 95 const gfx::Rect ViewportRectForTilePriority() const; |
| 97 std::unique_ptr<ScrollbarAnimationController> | 96 std::unique_ptr<ScrollbarAnimationController> |
| 98 CreateScrollbarAnimationController(ElementId scroll_element_id); | 97 CreateScrollbarAnimationController(ElementId scroll_element_id); |
| 99 void DidAnimateScrollOffset(); | 98 void DidAnimateScrollOffset(); |
| 100 bool use_gpu_rasterization() const; | 99 bool use_gpu_rasterization() const; |
| 101 GpuRasterizationStatus GetGpuRasterizationStatus() const; | 100 GpuRasterizationStatus GetGpuRasterizationStatus() const; |
| 102 bool create_low_res_tiling() const; | 101 bool create_low_res_tiling() const; |
| 103 bool RequiresHighResToDraw() const; | 102 bool RequiresHighResToDraw() const; |
| 104 bool SmoothnessTakesPriority() const; | 103 bool SmoothnessTakesPriority() const; |
| 105 VideoFrameControllerClient* GetVideoFrameControllerClient() const; | 104 VideoFrameControllerClient* GetVideoFrameControllerClient() const; |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 | 581 |
| 583 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 582 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 584 | 583 |
| 585 private: | 584 private: |
| 586 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 585 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 587 }; | 586 }; |
| 588 | 587 |
| 589 } // namespace cc | 588 } // namespace cc |
| 590 | 589 |
| 591 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 590 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |