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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 414 |
415 LayerTreeHostImplClient* client_; | 415 LayerTreeHostImplClient* client_; |
416 Proxy* proxy_; | 416 Proxy* proxy_; |
417 | 417 |
418 private: | 418 private: |
419 void CreateAndSetRenderer( | 419 void CreateAndSetRenderer( |
420 OutputSurface* output_surface, | 420 OutputSurface* output_surface, |
421 ResourceProvider* resource_provider, | 421 ResourceProvider* resource_provider, |
422 bool skip_gl_renderer); | 422 bool skip_gl_renderer); |
423 void CreateAndSetTileManager(ResourceProvider* resource_provider, | 423 void CreateAndSetTileManager(ResourceProvider* resource_provider, |
424 bool using_map_image); | 424 bool using_map_image, |
| 425 ContextProvider* context_provider); |
425 void ReleaseTreeResources(); | 426 void ReleaseTreeResources(); |
426 void EnforceZeroBudget(bool zero_budget); | 427 void EnforceZeroBudget(bool zero_budget); |
427 | 428 |
428 void AnimatePageScale(base::TimeTicks monotonic_time); | 429 void AnimatePageScale(base::TimeTicks monotonic_time); |
429 void AnimateScrollbars(base::TimeTicks monotonic_time); | 430 void AnimateScrollbars(base::TimeTicks monotonic_time); |
430 void AnimateTopControls(base::TimeTicks monotonic_time); | 431 void AnimateTopControls(base::TimeTicks monotonic_time); |
431 | 432 |
432 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( | 433 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( |
433 LayerImpl* layer_impl, | 434 LayerImpl* layer_impl, |
434 float scale_from_viewport_to_screen_space, | 435 float scale_from_viewport_to_screen_space, |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 567 |
567 // Optional callback to notify of new tree activations. | 568 // Optional callback to notify of new tree activations. |
568 base::Closure tree_activation_callback_; | 569 base::Closure tree_activation_callback_; |
569 | 570 |
570 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 571 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
571 }; | 572 }; |
572 | 573 |
573 } // namespace cc | 574 } // namespace cc |
574 | 575 |
575 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 576 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |