| 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 <bitset> | 10 #include <bitset> |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void ApplyScroll(ScrollNode* scroll_node, ScrollState* scroll_state); | 176 void ApplyScroll(ScrollNode* scroll_node, ScrollState* scroll_state); |
| 177 InputHandlerScrollResult ScrollBy(ScrollState* scroll_state) override; | 177 InputHandlerScrollResult ScrollBy(ScrollState* scroll_state) override; |
| 178 void RequestUpdateForSynchronousInputHandler() override; | 178 void RequestUpdateForSynchronousInputHandler() override; |
| 179 void SetSynchronousInputHandlerRootScrollOffset( | 179 void SetSynchronousInputHandlerRootScrollOffset( |
| 180 const gfx::ScrollOffset& root_offset) override; | 180 const gfx::ScrollOffset& root_offset) override; |
| 181 void ScrollEnd(ScrollState* scroll_state) override; | 181 void ScrollEnd(ScrollState* scroll_state) override; |
| 182 InputHandler::ScrollStatus FlingScrollBegin() override; | 182 InputHandler::ScrollStatus FlingScrollBegin() override; |
| 183 | 183 |
| 184 void MouseDown() override; | 184 void MouseDown() override; |
| 185 void MouseUp() override; | 185 void MouseUp() override; |
| 186 void MouseMoveAt(const gfx::Point& viewport_point) override; | 186 void MouseMoveAt(const gfx::Point& viewport_point, |
| 187 bool is_mouse_down) override; |
| 187 void MouseLeave() override; | 188 void MouseLeave() override; |
| 188 | 189 |
| 189 void PinchGestureBegin() override; | 190 void PinchGestureBegin() override; |
| 190 void PinchGestureUpdate(float magnify_delta, | 191 void PinchGestureUpdate(float magnify_delta, |
| 191 const gfx::Point& anchor) override; | 192 const gfx::Point& anchor) override; |
| 192 void PinchGestureEnd() override; | 193 void PinchGestureEnd() override; |
| 193 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, | 194 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
| 194 bool anchor_point, | 195 bool anchor_point, |
| 195 float page_scale, | 196 float page_scale, |
| 196 base::TimeDelta duration); | 197 base::TimeDelta duration); |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 bool touchpad_and_wheel_scroll_latching_enabled_; | 879 bool touchpad_and_wheel_scroll_latching_enabled_; |
| 879 | 880 |
| 880 ImplThreadPhase impl_thread_phase_; | 881 ImplThreadPhase impl_thread_phase_; |
| 881 | 882 |
| 882 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 883 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 883 }; | 884 }; |
| 884 | 885 |
| 885 } // namespace cc | 886 } // namespace cc |
| 886 | 887 |
| 887 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 888 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |