| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; } | 354 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; } |
| 355 | 355 |
| 356 void UpdateHudLayer(bool show_hud_info); | 356 void UpdateHudLayer(bool show_hud_info); |
| 357 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } | 357 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } |
| 358 | 358 |
| 359 virtual void SetNeedsFullTreeSync(); | 359 virtual void SetNeedsFullTreeSync(); |
| 360 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } | 360 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } |
| 361 | 361 |
| 362 void SetPropertyTreesNeedRebuild(); | 362 void SetPropertyTreesNeedRebuild(); |
| 363 | 363 |
| 364 void PushPropertyTreesTo(LayerTreeImpl* tree_impl); |
| 364 void PushPropertiesTo(LayerTreeImpl* tree_impl); | 365 void PushPropertiesTo(LayerTreeImpl* tree_impl); |
| 365 | 366 |
| 366 MutatorHost* mutator_host() const { return mutator_host_; } | 367 MutatorHost* mutator_host() const { return mutator_host_; } |
| 367 | 368 |
| 368 Layer* LayerByElementId(ElementId element_id) const; | 369 Layer* LayerByElementId(ElementId element_id) const; |
| 369 void RegisterElement(ElementId element_id, | 370 void RegisterElement(ElementId element_id, |
| 370 ElementListType list_type, | 371 ElementListType list_type, |
| 371 Layer* layer); | 372 Layer* layer); |
| 372 void UnregisterElement(ElementId element_id, | 373 void UnregisterElement(ElementId element_id, |
| 373 ElementListType list_type, | 374 ElementListType list_type, |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 queued_image_decodes_; | 627 queued_image_decodes_; |
| 627 | 628 |
| 628 bool did_navigate_ = false; | 629 bool did_navigate_ = false; |
| 629 | 630 |
| 630 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 631 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 631 }; | 632 }; |
| 632 | 633 |
| 633 } // namespace cc | 634 } // namespace cc |
| 634 | 635 |
| 635 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 636 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |