| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 InputHandlerScrollResult ScrollBy(ScrollState* scroll_state) override; | 173 InputHandlerScrollResult ScrollBy(ScrollState* scroll_state) override; |
| 174 void RequestUpdateForSynchronousInputHandler() override; | 174 void RequestUpdateForSynchronousInputHandler() override; |
| 175 void SetSynchronousInputHandlerRootScrollOffset( | 175 void SetSynchronousInputHandlerRootScrollOffset( |
| 176 const gfx::ScrollOffset& root_offset) override; | 176 const gfx::ScrollOffset& root_offset) override; |
| 177 void ScrollEnd(ScrollState* scroll_state) override; | 177 void ScrollEnd(ScrollState* scroll_state) override; |
| 178 InputHandler::ScrollStatus FlingScrollBegin() override; | 178 InputHandler::ScrollStatus FlingScrollBegin() override; |
| 179 | 179 |
| 180 void MouseDown() override; | 180 void MouseDown() override; |
| 181 void MouseUp() override; | 181 void MouseUp() override; |
| 182 void MouseMoveAt(const gfx::Point& viewport_point) override; | 182 void MouseMoveAt(const gfx::Point& viewport_point) override; |
| 183 void MouseLeave() override; | |
| 184 | 183 |
| 185 void PinchGestureBegin() override; | 184 void PinchGestureBegin() override; |
| 186 void PinchGestureUpdate(float magnify_delta, | 185 void PinchGestureUpdate(float magnify_delta, |
| 187 const gfx::Point& anchor) override; | 186 const gfx::Point& anchor) override; |
| 188 void PinchGestureEnd() override; | 187 void PinchGestureEnd() override; |
| 189 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, | 188 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
| 190 bool anchor_point, | 189 bool anchor_point, |
| 191 float page_scale, | 190 float page_scale, |
| 192 base::TimeDelta duration); | 191 base::TimeDelta duration); |
| 193 void SetNeedsAnimateInput() override; | 192 void SetNeedsAnimateInput() override; |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 | 837 |
| 839 std::unique_ptr<PendingTreeDurationHistogramTimer> | 838 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 840 pending_tree_duration_timer_; | 839 pending_tree_duration_timer_; |
| 841 | 840 |
| 842 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 841 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 843 }; | 842 }; |
| 844 | 843 |
| 845 } // namespace cc | 844 } // namespace cc |
| 846 | 845 |
| 847 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 846 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |