| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 LayerImpl* root_draw_layer, | 510 LayerImpl* root_draw_layer, |
| 511 const LayerImplList& render_surface_layer_list); | 511 const LayerImplList& render_surface_layer_list); |
| 512 | 512 |
| 513 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); | 513 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); |
| 514 | 514 |
| 515 // This function should only be called from PrepareToDraw, as DidDrawAllLayers | 515 // This function should only be called from PrepareToDraw, as DidDrawAllLayers |
| 516 // must be called if this helper function is called. Returns DRAW_SUCCESS if | 516 // must be called if this helper function is called. Returns DRAW_SUCCESS if |
| 517 // the frame should be drawn. | 517 // the frame should be drawn. |
| 518 DrawResult CalculateRenderPasses(FrameData* frame); | 518 DrawResult CalculateRenderPasses(FrameData* frame); |
| 519 | 519 |
| 520 bool EnsureRenderSurfaceLayerList(); | |
| 521 void ClearCurrentlyScrollingLayer(); | 520 void ClearCurrentlyScrollingLayer(); |
| 522 | 521 |
| 523 bool HandleMouseOverScrollbar(LayerImpl* layer_impl, | 522 bool HandleMouseOverScrollbar(LayerImpl* layer_impl, |
| 524 const gfx::PointF& device_viewport_point); | 523 const gfx::PointF& device_viewport_point); |
| 525 | 524 |
| 526 void AnimateScrollbarsRecursive(LayerImpl* layer, | 525 void AnimateScrollbarsRecursive(LayerImpl* layer, |
| 527 base::TimeTicks time); | 526 base::TimeTicks time); |
| 528 | 527 |
| 529 LayerImpl* FindScrollLayerForDeviceViewportPoint( | 528 LayerImpl* FindScrollLayerForDeviceViewportPoint( |
| 530 const gfx::PointF& device_viewport_point, | 529 const gfx::PointF& device_viewport_point, |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 680 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 682 | 681 |
| 683 size_t transfer_buffer_memory_limit_; | 682 size_t transfer_buffer_memory_limit_; |
| 684 | 683 |
| 685 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 684 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 686 }; | 685 }; |
| 687 | 686 |
| 688 } // namespace cc | 687 } // namespace cc |
| 689 | 688 |
| 690 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 689 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |