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