| 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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 ScrollState* scroll_state, | 658 ScrollState* scroll_state, |
| 659 ScrollNode* scrolling_node, | 659 ScrollNode* scrolling_node, |
| 660 InputHandler::ScrollInputType type); | 660 InputHandler::ScrollInputType type); |
| 661 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&); | 661 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&); |
| 662 void DistributeScrollDelta(ScrollState* scroll_state); | 662 void DistributeScrollDelta(ScrollState* scroll_state); |
| 663 | 663 |
| 664 bool AnimatePageScale(base::TimeTicks monotonic_time); | 664 bool AnimatePageScale(base::TimeTicks monotonic_time); |
| 665 bool AnimateScrollbars(base::TimeTicks monotonic_time); | 665 bool AnimateScrollbars(base::TimeTicks monotonic_time); |
| 666 bool AnimateBrowserControls(base::TimeTicks monotonic_time); | 666 bool AnimateBrowserControls(base::TimeTicks monotonic_time); |
| 667 | 667 |
| 668 void TrackDamageForAllSurfaces( | |
| 669 const LayerImplList& render_surface_layer_list); | |
| 670 | |
| 671 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); | 668 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); |
| 672 | 669 |
| 673 // This function should only be called from PrepareToDraw, as DidDrawAllLayers | 670 // This function should only be called from PrepareToDraw, as DidDrawAllLayers |
| 674 // must be called if this helper function is called. Returns DRAW_SUCCESS if | 671 // must be called if this helper function is called. Returns DRAW_SUCCESS if |
| 675 // the frame should be drawn. | 672 // the frame should be drawn. |
| 676 DrawResult CalculateRenderPasses(FrameData* frame); | 673 DrawResult CalculateRenderPasses(FrameData* frame); |
| 677 | 674 |
| 678 void ClearCurrentlyScrollingNode(); | 675 void ClearCurrentlyScrollingNode(); |
| 679 | 676 |
| 680 LayerImpl* FindScrollLayerForDeviceViewportPoint( | 677 LayerImpl* FindScrollLayerForDeviceViewportPoint( |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 bool has_scrolled_by_touch_; | 868 bool has_scrolled_by_touch_; |
| 872 | 869 |
| 873 bool touchpad_and_wheel_scroll_latching_enabled_; | 870 bool touchpad_and_wheel_scroll_latching_enabled_; |
| 874 | 871 |
| 875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 872 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 876 }; | 873 }; |
| 877 | 874 |
| 878 } // namespace cc | 875 } // namespace cc |
| 879 | 876 |
| 880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 877 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |