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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; | 123 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; |
124 virtual void ScrollEnd() OVERRIDE; | 124 virtual void ScrollEnd() OVERRIDE; |
125 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; | 125 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; |
126 virtual void NotifyCurrentFlingVelocity( | 126 virtual void NotifyCurrentFlingVelocity( |
127 const gfx::Vector2dF& velocity) OVERRIDE; | 127 const gfx::Vector2dF& velocity) OVERRIDE; |
128 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE; | 128 virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE; |
129 virtual void PinchGestureBegin() OVERRIDE; | 129 virtual void PinchGestureBegin() OVERRIDE; |
130 virtual void PinchGestureUpdate(float magnify_delta, | 130 virtual void PinchGestureUpdate(float magnify_delta, |
131 gfx::Point anchor) OVERRIDE; | 131 gfx::Point anchor) OVERRIDE; |
132 virtual void PinchGestureEnd() OVERRIDE; | 132 virtual void PinchGestureEnd() OVERRIDE; |
133 virtual void StartPageScaleAnimation(gfx::Vector2d target_offset, | 133 virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
134 bool anchor_point, | 134 bool anchor_point, |
135 float page_scale, | 135 float page_scale, |
136 base::TimeDelta duration) OVERRIDE; | 136 base::TimeDelta duration) OVERRIDE; |
137 virtual void ScheduleAnimation() OVERRIDE; | 137 virtual void ScheduleAnimation() OVERRIDE; |
138 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; | 138 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; |
139 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 139 virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
140 ui::LatencyInfo* latency) OVERRIDE; | 140 ui::LatencyInfo* latency) OVERRIDE; |
141 | 141 |
142 // TopControlsManagerClient implementation. | 142 // TopControlsManagerClient implementation. |
143 virtual void DidChangeTopControlsPosition() OVERRIDE; | 143 virtual void DidChangeTopControlsPosition() OVERRIDE; |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 int id_; | 655 int id_; |
656 | 656 |
657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
658 | 658 |
659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
660 }; | 660 }; |
661 | 661 |
662 } // namespace cc | 662 } // namespace cc |
663 | 663 |
664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |