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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool anchor_point, | 181 bool anchor_point, |
182 float page_scale, | 182 float page_scale, |
183 base::TimeDelta duration); | 183 base::TimeDelta duration); |
184 void SetNeedsAnimateInput() override; | 184 void SetNeedsAnimateInput() override; |
185 bool IsCurrentlyScrollingViewport() const override; | 185 bool IsCurrentlyScrollingViewport() const override; |
186 bool IsCurrentlyScrollingLayerAt( | 186 bool IsCurrentlyScrollingLayerAt( |
187 const gfx::Point& viewport_point, | 187 const gfx::Point& viewport_point, |
188 InputHandler::ScrollInputType type) const override; | 188 InputHandler::ScrollInputType type) const override; |
189 EventListenerProperties GetEventListenerProperties( | 189 EventListenerProperties GetEventListenerProperties( |
190 EventListenerClass event_class) const override; | 190 EventListenerClass event_class) const override; |
191 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; | 191 InputHandler::TouchStartEventListenerType EventListenerTypeForTouchStartAt( |
| 192 const gfx::Point& viewport_port) override; |
192 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 193 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
193 ui::LatencyInfo* latency) override; | 194 ui::LatencyInfo* latency) override; |
194 ScrollElasticityHelper* CreateScrollElasticityHelper() override; | 195 ScrollElasticityHelper* CreateScrollElasticityHelper() override; |
195 bool GetScrollOffsetForLayer(int layer_id, | 196 bool GetScrollOffsetForLayer(int layer_id, |
196 gfx::ScrollOffset* offset) override; | 197 gfx::ScrollOffset* offset) override; |
197 bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override; | 198 bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override; |
198 | 199 |
199 // BrowserControlsOffsetManagerClient implementation. | 200 // BrowserControlsOffsetManagerClient implementation. |
200 float TopControlsHeight() const override; | 201 float TopControlsHeight() const override; |
201 float BottomControlsHeight() const override; | 202 float BottomControlsHeight() const override; |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 | 820 |
820 std::unique_ptr<PendingTreeDurationHistogramTimer> | 821 std::unique_ptr<PendingTreeDurationHistogramTimer> |
821 pending_tree_duration_timer_; | 822 pending_tree_duration_timer_; |
822 | 823 |
823 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 824 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
824 }; | 825 }; |
825 | 826 |
826 } // namespace cc | 827 } // namespace cc |
827 | 828 |
828 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 829 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |