| 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 DrawResult CalculateRenderPasses(FrameData* frame); | 653 DrawResult CalculateRenderPasses(FrameData* frame); |
| 654 | 654 |
| 655 void ClearCurrentlyScrollingLayer(); | 655 void ClearCurrentlyScrollingLayer(); |
| 656 | 656 |
| 657 LayerImpl* FindScrollLayerForDeviceViewportPoint( | 657 LayerImpl* FindScrollLayerForDeviceViewportPoint( |
| 658 const gfx::PointF& device_viewport_point, | 658 const gfx::PointF& device_viewport_point, |
| 659 InputHandler::ScrollInputType type, | 659 InputHandler::ScrollInputType type, |
| 660 LayerImpl* layer_hit_by_point, | 660 LayerImpl* layer_hit_by_point, |
| 661 bool* scroll_on_main_thread, | 661 bool* scroll_on_main_thread, |
| 662 uint32_t* main_thread_scrolling_reason) const; | 662 uint32_t* main_thread_scrolling_reason) const; |
| 663 |
| 664 LayerImpl* FindScrollLayerByLayer(LayerImpl* layer_impl) const; |
| 665 |
| 663 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, | 666 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, |
| 664 LayerImpl* layer_impl); | 667 LayerImpl* layer_impl); |
| 665 void StartScrollbarFadeRecursive(LayerImpl* layer); | 668 void StartScrollbarFadeRecursive(LayerImpl* layer); |
| 666 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); | 669 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); |
| 667 | 670 |
| 668 void MarkUIResourceNotEvicted(UIResourceId uid); | 671 void MarkUIResourceNotEvicted(UIResourceId uid); |
| 669 void ClearUIResources(); | 672 void ClearUIResources(); |
| 670 | 673 |
| 671 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); | 674 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); |
| 672 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); | 675 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 | 821 |
| 819 std::unique_ptr<PendingTreeDurationHistogramTimer> | 822 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 820 pending_tree_duration_timer_; | 823 pending_tree_duration_timer_; |
| 821 | 824 |
| 822 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 825 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 823 }; | 826 }; |
| 824 | 827 |
| 825 } // namespace cc | 828 } // namespace cc |
| 826 | 829 |
| 827 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 830 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |