| 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 | 472 |
| 473 void AnimateScrollbarsRecursive(LayerImpl* layer, | 473 void AnimateScrollbarsRecursive(LayerImpl* layer, |
| 474 base::TimeTicks time); | 474 base::TimeTicks time); |
| 475 | 475 |
| 476 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; | 476 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; |
| 477 | 477 |
| 478 LayerImpl* FindScrollLayerForDeviceViewportPoint( | 478 LayerImpl* FindScrollLayerForDeviceViewportPoint( |
| 479 gfx::PointF device_viewport_point, | 479 gfx::PointF device_viewport_point, |
| 480 InputHandler::ScrollInputType type, | 480 InputHandler::ScrollInputType type, |
| 481 LayerImpl* layer_hit_by_point, | 481 LayerImpl* layer_hit_by_point, |
| 482 bool* scroll_on_main_thread); | 482 bool* scroll_on_main_thread) const; |
| 483 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, | 483 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, |
| 484 LayerImpl* layer_impl); | 484 LayerImpl* layer_impl); |
| 485 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); | 485 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); |
| 486 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, | 486 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, |
| 487 bool zero_budget); | 487 bool zero_budget); |
| 488 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); | 488 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); |
| 489 | 489 |
| 490 void DidInitializeVisibleTile(); | 490 void DidInitializeVisibleTile(); |
| 491 | 491 |
| 492 void MarkUIResourceNotEvicted(UIResourceId uid); | 492 void MarkUIResourceNotEvicted(UIResourceId uid); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 | 619 |
| 620 // Optional callback to notify of new tree activations. | 620 // Optional callback to notify of new tree activations. |
| 621 base::Closure tree_activation_callback_; | 621 base::Closure tree_activation_callback_; |
| 622 | 622 |
| 623 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 623 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 624 }; | 624 }; |
| 625 | 625 |
| 626 } // namespace cc | 626 } // namespace cc |
| 627 | 627 |
| 628 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 628 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |