| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 InputHandler::ScrollInputType type) const override; | 198 InputHandler::ScrollInputType type) const override; |
| 199 EventListenerProperties GetEventListenerProperties( | 199 EventListenerProperties GetEventListenerProperties( |
| 200 EventListenerClass event_class) const override; | 200 EventListenerClass event_class) const override; |
| 201 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; | 201 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; |
| 202 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( | 202 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( |
| 203 ui::LatencyInfo* latency) override; | 203 ui::LatencyInfo* latency) override; |
| 204 ScrollElasticityHelper* CreateScrollElasticityHelper() override; | 204 ScrollElasticityHelper* CreateScrollElasticityHelper() override; |
| 205 | 205 |
| 206 // TopControlsManagerClient implementation. | 206 // TopControlsManagerClient implementation. |
| 207 float TopControlsHeight() const override; | 207 float TopControlsHeight() const override; |
| 208 float BottomControlsHeight() const override; |
| 208 void SetCurrentTopControlsShownRatio(float offset) override; | 209 void SetCurrentTopControlsShownRatio(float offset) override; |
| 209 float CurrentTopControlsShownRatio() const override; | 210 float CurrentTopControlsShownRatio() const override; |
| 210 void DidChangeTopControlsPosition() override; | 211 void DidChangeTopControlsPosition() override; |
| 211 bool HaveRootScrollLayer() const override; | 212 bool HaveRootScrollLayer() const override; |
| 212 | 213 |
| 213 void UpdateViewportContainerSizes(); | 214 void UpdateViewportContainerSizes(); |
| 214 | 215 |
| 215 void set_resourceless_software_draw_for_testing() { | 216 void set_resourceless_software_draw_for_testing() { |
| 216 resourceless_software_draw_ = true; | 217 resourceless_software_draw_ = true; |
| 217 } | 218 } |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 | 846 |
| 846 std::unique_ptr<PendingTreeDurationHistogramTimer> | 847 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 847 pending_tree_duration_timer_; | 848 pending_tree_duration_timer_; |
| 848 | 849 |
| 849 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 850 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 850 }; | 851 }; |
| 851 | 852 |
| 852 } // namespace cc | 853 } // namespace cc |
| 853 | 854 |
| 854 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 855 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |