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 <set> | 10 #include <set> |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 | 676 |
677 void ClearCurrentlyScrollingLayer(); | 677 void ClearCurrentlyScrollingLayer(); |
678 | 678 |
679 void HandleMouseOverScrollbar(LayerImpl* layer_impl); | 679 void HandleMouseOverScrollbar(LayerImpl* layer_impl); |
680 | 680 |
681 LayerImpl* FindScrollLayerForDeviceViewportPoint( | 681 LayerImpl* FindScrollLayerForDeviceViewportPoint( |
682 const gfx::PointF& device_viewport_point, | 682 const gfx::PointF& device_viewport_point, |
683 InputHandler::ScrollInputType type, | 683 InputHandler::ScrollInputType type, |
684 LayerImpl* layer_hit_by_point, | 684 LayerImpl* layer_hit_by_point, |
685 bool* scroll_on_main_thread, | 685 bool* scroll_on_main_thread, |
686 bool* optional_has_ancestor_scroll_handler, | |
687 uint32_t* main_thread_scrolling_reason) const; | 686 uint32_t* main_thread_scrolling_reason) const; |
688 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, | 687 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, |
689 LayerImpl* layer_impl); | 688 LayerImpl* layer_impl); |
690 void StartScrollbarFadeRecursive(LayerImpl* layer); | 689 void StartScrollbarFadeRecursive(LayerImpl* layer); |
691 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); | 690 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); |
692 | 691 |
693 void MarkUIResourceNotEvicted(UIResourceId uid); | 692 void MarkUIResourceNotEvicted(UIResourceId uid); |
694 void ClearUIResources(); | 693 void ClearUIResources(); |
695 | 694 |
696 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); | 695 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 831 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
833 | 832 |
834 scoped_ptr<Viewport> viewport_; | 833 scoped_ptr<Viewport> viewport_; |
835 | 834 |
836 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 835 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
837 }; | 836 }; |
838 | 837 |
839 } // namespace cc | 838 } // namespace cc |
840 | 839 |
841 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 840 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |