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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 686 bool* optional_has_ancestor_scroll_handler, |
687 InputHandler::MainThreadScrollingReason* main_thread_scrolling_reason) | 687 uint32_t* main_thread_scrolling_reason) const; |
688 const; | |
689 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, | 688 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, |
690 LayerImpl* layer_impl); | 689 LayerImpl* layer_impl); |
691 void StartScrollbarFadeRecursive(LayerImpl* layer); | 690 void StartScrollbarFadeRecursive(LayerImpl* layer); |
692 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); | 691 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); |
693 | 692 |
694 void MarkUIResourceNotEvicted(UIResourceId uid); | 693 void MarkUIResourceNotEvicted(UIResourceId uid); |
695 void ClearUIResources(); | 694 void ClearUIResources(); |
696 | 695 |
697 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); | 696 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); |
698 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); | 697 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 833 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
835 | 834 |
836 scoped_ptr<Viewport> viewport_; | 835 scoped_ptr<Viewport> viewport_; |
837 | 836 |
838 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 837 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
839 }; | 838 }; |
840 | 839 |
841 } // namespace cc | 840 } // namespace cc |
842 | 841 |
843 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 842 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |