| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 // Returns true if status changed. | 644 // Returns true if status changed. |
| 645 bool UpdateGpuRasterizationStatus(); | 645 bool UpdateGpuRasterizationStatus(); |
| 646 void UpdateTreeResourcesForGpuRasterizationIfNeeded(); | 646 void UpdateTreeResourcesForGpuRasterizationIfNeeded(); |
| 647 | 647 |
| 648 Viewport* viewport() const { return viewport_.get(); } | 648 Viewport* viewport() const { return viewport_.get(); } |
| 649 | 649 |
| 650 InputHandler::ScrollStatus ScrollBeginImpl( | 650 InputHandler::ScrollStatus ScrollBeginImpl( |
| 651 ScrollState* scroll_state, | 651 ScrollState* scroll_state, |
| 652 LayerImpl* scrolling_layer_impl, | 652 LayerImpl* scrolling_layer_impl, |
| 653 InputHandler::ScrollInputType type); | 653 InputHandler::ScrollInputType type); |
| 654 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&); |
| 654 void DistributeScrollDelta(ScrollState* scroll_state); | 655 void DistributeScrollDelta(ScrollState* scroll_state); |
| 655 | 656 |
| 656 bool AnimatePageScale(base::TimeTicks monotonic_time); | 657 bool AnimatePageScale(base::TimeTicks monotonic_time); |
| 657 bool AnimateScrollbars(base::TimeTicks monotonic_time); | 658 bool AnimateScrollbars(base::TimeTicks monotonic_time); |
| 658 bool AnimateBrowserControls(base::TimeTicks monotonic_time); | 659 bool AnimateBrowserControls(base::TimeTicks monotonic_time); |
| 659 | 660 |
| 660 void TrackDamageForAllSurfaces( | 661 void TrackDamageForAllSurfaces( |
| 661 const LayerImplList& render_surface_layer_list); | 662 const LayerImplList& render_surface_layer_list); |
| 662 | 663 |
| 663 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); | 664 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 | 834 |
| 834 std::unique_ptr<PendingTreeDurationHistogramTimer> | 835 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 835 pending_tree_duration_timer_; | 836 pending_tree_duration_timer_; |
| 836 | 837 |
| 837 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 838 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 838 }; | 839 }; |
| 839 | 840 |
| 840 } // namespace cc | 841 } // namespace cc |
| 841 | 842 |
| 842 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 843 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |