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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const gfx::Point& anchor) override; | 160 const gfx::Point& anchor) override; |
161 void PinchGestureEnd() override; | 161 void PinchGestureEnd() override; |
162 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, | 162 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
163 bool anchor_point, | 163 bool anchor_point, |
164 float page_scale, | 164 float page_scale, |
165 base::TimeDelta duration); | 165 base::TimeDelta duration); |
166 void SetNeedsAnimate() override; | 166 void SetNeedsAnimate() override; |
167 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point, | 167 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point, |
168 InputHandler::ScrollInputType type) override; | 168 InputHandler::ScrollInputType type) override; |
169 bool HaveWheelEventHandlersAt(const gfx::Point& viewport_point) override; | 169 bool HaveWheelEventHandlersAt(const gfx::Point& viewport_point) override; |
170 bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) override; | 170 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; |
171 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 171 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
172 ui::LatencyInfo* latency) override; | 172 ui::LatencyInfo* latency) override; |
173 ScrollElasticityHelper* CreateScrollElasticityHelper() override; | 173 ScrollElasticityHelper* CreateScrollElasticityHelper() override; |
174 | 174 |
175 // TopControlsManagerClient implementation. | 175 // TopControlsManagerClient implementation. |
176 void SetControlsTopOffset(float offset) override; | 176 void SetControlsTopOffset(float offset) override; |
177 float ControlsTopOffset() const override; | 177 float ControlsTopOffset() const override; |
178 void DidChangeTopControlsPosition() override; | 178 void DidChangeTopControlsPosition() override; |
179 bool HaveRootScrollLayer() const override; | 179 bool HaveRootScrollLayer() const override; |
180 | 180 |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 | 731 |
732 bool requires_high_res_to_draw_; | 732 bool requires_high_res_to_draw_; |
733 bool is_likely_to_require_a_draw_; | 733 bool is_likely_to_require_a_draw_; |
734 | 734 |
735 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 735 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
736 }; | 736 }; |
737 | 737 |
738 } // namespace cc | 738 } // namespace cc |
739 | 739 |
740 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 740 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |