| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 void SetRootLayerScrollOffsetDelegate( | 139 void SetRootLayerScrollOffsetDelegate( |
| 140 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) override; | 140 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) override; |
| 141 void OnRootLayerDelegatedScrollOffsetChanged() override; | 141 void OnRootLayerDelegatedScrollOffsetChanged() override; |
| 142 void ScrollEnd() override; | 142 void ScrollEnd() override; |
| 143 InputHandler::ScrollStatus FlingScrollBegin() override; | 143 InputHandler::ScrollStatus FlingScrollBegin() override; |
| 144 void MouseMoveAt(const gfx::Point& viewport_point) override; | 144 void MouseMoveAt(const gfx::Point& viewport_point) override; |
| 145 void PinchGestureBegin() override; | 145 void PinchGestureBegin() override; |
| 146 void PinchGestureUpdate(float magnify_delta, | 146 void PinchGestureUpdate(float magnify_delta, |
| 147 const gfx::Point& anchor) override; | 147 const gfx::Point& anchor) override; |
| 148 void PinchGestureEnd() override; | 148 void PinchGestureEnd() override; |
| 149 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
| 150 bool anchor_point, |
| 151 float page_scale, |
| 152 base::TimeDelta duration); |
| 149 void SetNeedsAnimate() override; | 153 void SetNeedsAnimate() override; |
| 150 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point, | 154 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point, |
| 151 InputHandler::ScrollInputType type) override; | 155 InputHandler::ScrollInputType type) override; |
| 152 bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) override; | 156 bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) override; |
| 153 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 157 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
| 154 ui::LatencyInfo* latency) override; | 158 ui::LatencyInfo* latency) override; |
| 155 ScrollElasticityHelper* CreateScrollElasticityHelper() override; | 159 ScrollElasticityHelper* CreateScrollElasticityHelper() override; |
| 156 | 160 |
| 157 // TopControlsManagerClient implementation. | 161 // TopControlsManagerClient implementation. |
| 158 void SetControlsTopOffset(float offset) override; | 162 void SetControlsTopOffset(float offset) override; |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 | 709 |
| 706 bool requires_high_res_to_draw_; | 710 bool requires_high_res_to_draw_; |
| 707 bool required_for_draw_tile_is_top_of_raster_queue_; | 711 bool required_for_draw_tile_is_top_of_raster_queue_; |
| 708 | 712 |
| 709 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 713 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 710 }; | 714 }; |
| 711 | 715 |
| 712 } // namespace cc | 716 } // namespace cc |
| 713 | 717 |
| 714 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 718 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |