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; |
183 | 184 |
184 void PinchGestureBegin() override; | 185 void PinchGestureBegin() override; |
185 void PinchGestureUpdate(float magnify_delta, | 186 void PinchGestureUpdate(float magnify_delta, |
186 const gfx::Point& anchor) override; | 187 const gfx::Point& anchor) override; |
187 void PinchGestureEnd() override; | 188 void PinchGestureEnd() override; |
188 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, | 189 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
189 bool anchor_point, | 190 bool anchor_point, |
190 float page_scale, | 191 float page_scale, |
191 base::TimeDelta duration); | 192 base::TimeDelta duration); |
192 void SetNeedsAnimateInput() override; | 193 void SetNeedsAnimateInput() override; |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 | 838 |
838 std::unique_ptr<PendingTreeDurationHistogramTimer> | 839 std::unique_ptr<PendingTreeDurationHistogramTimer> |
839 pending_tree_duration_timer_; | 840 pending_tree_duration_timer_; |
840 | 841 |
841 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 842 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
842 }; | 843 }; |
843 | 844 |
844 } // namespace cc | 845 } // namespace cc |
845 | 846 |
846 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 847 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |