| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 void ClearCurrentlyScrollingLayer(); | 477 void ClearCurrentlyScrollingLayer(); |
| 478 | 478 |
| 479 void AnimateScrollbarsRecursive(LayerImpl* layer, | 479 void AnimateScrollbarsRecursive(LayerImpl* layer, |
| 480 base::TimeTicks time); | 480 base::TimeTicks time); |
| 481 | 481 |
| 482 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; | 482 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; |
| 483 | 483 |
| 484 LayerImpl* FindScrollLayerForViewportPoint( | 484 LayerImpl* FindScrollLayerForViewportPoint( |
| 485 gfx::Point viewport_point, | 485 gfx::Point viewport_point, |
| 486 InputHandler::ScrollInputType type, | 486 InputHandler::ScrollInputType type, |
| 487 bool* scroll_on_main_thread); | 487 bool* scroll_on_main_thread) const; |
| 488 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, | 488 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, |
| 489 LayerImpl* layer_impl); | 489 LayerImpl* layer_impl); |
| 490 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); | 490 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); |
| 491 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, | 491 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, |
| 492 bool zero_budget); | 492 bool zero_budget); |
| 493 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); | 493 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); |
| 494 | 494 |
| 495 void DidInitializeVisibleTile(); | 495 void DidInitializeVisibleTile(); |
| 496 | 496 |
| 497 void MarkUIResourceNotEvicted(UIResourceId uid); | 497 void MarkUIResourceNotEvicted(UIResourceId uid); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 | 622 |
| 623 // Optional callback to notify of new tree activations. | 623 // Optional callback to notify of new tree activations. |
| 624 base::Closure tree_activation_callback_; | 624 base::Closure tree_activation_callback_; |
| 625 | 625 |
| 626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 627 }; | 627 }; |
| 628 | 628 |
| 629 } // namespace cc | 629 } // namespace cc |
| 630 | 630 |
| 631 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 631 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |