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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 bool anchor_point, | 188 bool anchor_point, |
189 float page_scale, | 189 float page_scale, |
190 base::TimeDelta duration); | 190 base::TimeDelta duration); |
191 void SetNeedsAnimateInput() override; | 191 void SetNeedsAnimateInput() override; |
192 bool IsCurrentlyScrollingViewport() const override; | 192 bool IsCurrentlyScrollingViewport() const override; |
193 bool IsCurrentlyScrollingLayerAt( | 193 bool IsCurrentlyScrollingLayerAt( |
194 const gfx::Point& viewport_point, | 194 const gfx::Point& viewport_point, |
195 InputHandler::ScrollInputType type) const override; | 195 InputHandler::ScrollInputType type) const override; |
196 EventListenerProperties GetEventListenerProperties( | 196 EventListenerProperties GetEventListenerProperties( |
197 EventListenerClass event_class) const override; | 197 EventListenerClass event_class) const override; |
198 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; | 198 EventListenerProperties EventListenerTypeForTouchStartAt( |
| 199 const gfx::Point& viewport_port) override; |
199 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 200 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
200 ui::LatencyInfo* latency) override; | 201 ui::LatencyInfo* latency) override; |
201 ScrollElasticityHelper* CreateScrollElasticityHelper() override; | 202 ScrollElasticityHelper* CreateScrollElasticityHelper() override; |
202 bool GetScrollOffsetForLayer(int layer_id, | 203 bool GetScrollOffsetForLayer(int layer_id, |
203 gfx::ScrollOffset* offset) override; | 204 gfx::ScrollOffset* offset) override; |
204 bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override; | 205 bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override; |
205 | 206 |
206 // BrowserControlsOffsetManagerClient implementation. | 207 // BrowserControlsOffsetManagerClient implementation. |
207 float TopControlsHeight() const override; | 208 float TopControlsHeight() const override; |
208 float BottomControlsHeight() const override; | 209 float BottomControlsHeight() const override; |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 | 827 |
827 std::unique_ptr<PendingTreeDurationHistogramTimer> | 828 std::unique_ptr<PendingTreeDurationHistogramTimer> |
828 pending_tree_duration_timer_; | 829 pending_tree_duration_timer_; |
829 | 830 |
830 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 831 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
831 }; | 832 }; |
832 | 833 |
833 } // namespace cc | 834 } // namespace cc |
834 | 835 |
835 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 836 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |