| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 // Returns true if status changed. | 650 // Returns true if status changed. |
| 651 bool UpdateGpuRasterizationStatus(); | 651 bool UpdateGpuRasterizationStatus(); |
| 652 void UpdateTreeResourcesForGpuRasterizationIfNeeded(); | 652 void UpdateTreeResourcesForGpuRasterizationIfNeeded(); |
| 653 | 653 |
| 654 Viewport* viewport() const { return viewport_.get(); } | 654 Viewport* viewport() const { return viewport_.get(); } |
| 655 | 655 |
| 656 InputHandler::ScrollStatus ScrollBeginImpl( | 656 InputHandler::ScrollStatus ScrollBeginImpl( |
| 657 ScrollState* scroll_state, | 657 ScrollState* scroll_state, |
| 658 LayerImpl* scrolling_layer_impl, | 658 LayerImpl* scrolling_layer_impl, |
| 659 InputHandler::ScrollInputType type); | 659 InputHandler::ScrollInputType type); |
| 660 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&); |
| 660 void DistributeScrollDelta(ScrollState* scroll_state); | 661 void DistributeScrollDelta(ScrollState* scroll_state); |
| 661 | 662 |
| 662 bool AnimatePageScale(base::TimeTicks monotonic_time); | 663 bool AnimatePageScale(base::TimeTicks monotonic_time); |
| 663 bool AnimateScrollbars(base::TimeTicks monotonic_time); | 664 bool AnimateScrollbars(base::TimeTicks monotonic_time); |
| 664 bool AnimateBrowserControls(base::TimeTicks monotonic_time); | 665 bool AnimateBrowserControls(base::TimeTicks monotonic_time); |
| 665 | 666 |
| 666 void TrackDamageForAllSurfaces( | 667 void TrackDamageForAllSurfaces( |
| 667 const LayerImplList& render_surface_layer_list); | 668 const LayerImplList& render_surface_layer_list); |
| 668 | 669 |
| 669 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); | 670 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 | 840 |
| 840 std::unique_ptr<PendingTreeDurationHistogramTimer> | 841 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 841 pending_tree_duration_timer_; | 842 pending_tree_duration_timer_; |
| 842 | 843 |
| 843 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 844 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 844 }; | 845 }; |
| 845 | 846 |
| 846 } // namespace cc | 847 } // namespace cc |
| 847 | 848 |
| 848 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 849 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |