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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; } | 352 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; } |
353 | 353 |
354 void UpdateHudLayer(bool show_hud_info); | 354 void UpdateHudLayer(bool show_hud_info); |
355 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } | 355 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } |
356 | 356 |
357 virtual void SetNeedsFullTreeSync(); | 357 virtual void SetNeedsFullTreeSync(); |
358 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } | 358 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } |
359 | 359 |
360 void SetPropertyTreesNeedRebuild(); | 360 void SetPropertyTreesNeedRebuild(); |
361 | 361 |
362 void PushPropertiesTo(LayerTreeImpl* tree_impl); | 362 void PushPropertyTreesTo(LayerTreeImpl* tree_impl); |
| 363 void PushLayerTreePropertiesTo(LayerTreeImpl* tree_impl); |
| 364 void PushLayerTreeHostPropertiesTo(LayerTreeHostImpl* host_impl); |
363 | 365 |
364 MutatorHost* mutator_host() const { return mutator_host_; } | 366 MutatorHost* mutator_host() const { return mutator_host_; } |
365 | 367 |
366 Layer* LayerByElementId(ElementId element_id) const; | 368 Layer* LayerByElementId(ElementId element_id) const; |
367 void RegisterElement(ElementId element_id, | 369 void RegisterElement(ElementId element_id, |
368 ElementListType list_type, | 370 ElementListType list_type, |
369 Layer* layer); | 371 Layer* layer); |
370 void UnregisterElement(ElementId element_id, | 372 void UnregisterElement(ElementId element_id, |
371 ElementListType list_type, | 373 ElementListType list_type, |
372 Layer* layer); | 374 Layer* layer); |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 624 |
623 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> | 625 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> |
624 queued_image_decodes_; | 626 queued_image_decodes_; |
625 | 627 |
626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 628 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
627 }; | 629 }; |
628 | 630 |
629 } // namespace cc | 631 } // namespace cc |
630 | 632 |
631 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 633 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |