| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 LayerTreeHostImplClient* client_; | 456 LayerTreeHostImplClient* client_; |
| 457 Proxy* proxy_; | 457 Proxy* proxy_; |
| 458 | 458 |
| 459 private: | 459 private: |
| 460 void CreateAndSetRenderer( | 460 void CreateAndSetRenderer( |
| 461 OutputSurface* output_surface, | 461 OutputSurface* output_surface, |
| 462 ResourceProvider* resource_provider, | 462 ResourceProvider* resource_provider, |
| 463 bool skip_gl_renderer); | 463 bool skip_gl_renderer); |
| 464 void CreateAndSetTileManager(ResourceProvider* resource_provider, | 464 void CreateAndSetTileManager(ResourceProvider* resource_provider, |
| 465 ContextProvider* context_provider, | 465 ContextProvider* context_provider, |
| 466 bool using_map_image); | 466 bool using_map_image, |
| 467 bool allow_rasterize_on_demand); |
| 467 void ReleaseTreeResources(); | 468 void ReleaseTreeResources(); |
| 468 void EnforceZeroBudget(bool zero_budget); | 469 void EnforceZeroBudget(bool zero_budget); |
| 469 | 470 |
| 470 void ScrollViewportBy(gfx::Vector2dF scroll_delta); | 471 void ScrollViewportBy(gfx::Vector2dF scroll_delta); |
| 471 void AnimatePageScale(base::TimeTicks monotonic_time); | 472 void AnimatePageScale(base::TimeTicks monotonic_time); |
| 472 void AnimateScrollbars(base::TimeTicks monotonic_time); | 473 void AnimateScrollbars(base::TimeTicks monotonic_time); |
| 473 void AnimateTopControls(base::TimeTicks monotonic_time); | 474 void AnimateTopControls(base::TimeTicks monotonic_time); |
| 474 | 475 |
| 475 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( | 476 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( |
| 476 LayerImpl* layer_impl, | 477 LayerImpl* layer_impl, |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 int id_; | 656 int id_; |
| 656 | 657 |
| 657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 658 | 659 |
| 659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 660 }; | 661 }; |
| 661 | 662 |
| 662 } // namespace cc | 663 } // namespace cc |
| 663 | 664 |
| 664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |