| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 class AnimationEvents; | 55 class AnimationEvents; |
| 56 class AnimationRegistrar; | 56 class AnimationRegistrar; |
| 57 class AnimationHost; | 57 class AnimationHost; |
| 58 class BeginFrameSource; | 58 class BeginFrameSource; |
| 59 class HeadsUpDisplayLayer; | 59 class HeadsUpDisplayLayer; |
| 60 class Layer; | 60 class Layer; |
| 61 class LayerTreeHostImpl; | 61 class LayerTreeHostImpl; |
| 62 class LayerTreeHostImplClient; | 62 class LayerTreeHostImplClient; |
| 63 class LayerTreeHostSingleThreadClient; | 63 class LayerTreeHostSingleThreadClient; |
| 64 class LayerTreeMutator; |
| 64 class PropertyTrees; | 65 class PropertyTrees; |
| 65 class Region; | 66 class Region; |
| 66 class RenderingStatsInstrumentation; | 67 class RenderingStatsInstrumentation; |
| 67 class ResourceProvider; | 68 class ResourceProvider; |
| 68 class ResourceUpdateQueue; | 69 class ResourceUpdateQueue; |
| 69 class SharedBitmapManager; | 70 class SharedBitmapManager; |
| 70 class TaskGraphRunner; | 71 class TaskGraphRunner; |
| 71 class TopControlsManager; | 72 class TopControlsManager; |
| 72 class UIResourceRequest; | 73 class UIResourceRequest; |
| 73 struct PendingPageScaleAnimation; | 74 struct PendingPageScaleAnimation; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 | 324 |
| 324 PropertyTrees* property_trees() { return &property_trees_; } | 325 PropertyTrees* property_trees() { return &property_trees_; } |
| 325 bool needs_meta_info_recomputation() { | 326 bool needs_meta_info_recomputation() { |
| 326 return needs_meta_info_recomputation_; | 327 return needs_meta_info_recomputation_; |
| 327 } | 328 } |
| 328 | 329 |
| 329 void RecordFrameTimingEvents( | 330 void RecordFrameTimingEvents( |
| 330 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 331 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 331 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); | 332 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); |
| 332 | 333 |
| 334 void SetLayerTreeMutator(LayerTreeMutator* mutator); |
| 335 |
| 333 Layer* LayerById(int id) const; | 336 Layer* LayerById(int id) const; |
| 334 void RegisterLayer(Layer* layer); | 337 void RegisterLayer(Layer* layer); |
| 335 void UnregisterLayer(Layer* layer); | 338 void UnregisterLayer(Layer* layer); |
| 336 // LayerTreeMutatorsClient implementation. | 339 // LayerTreeMutatorsClient implementation. |
| 337 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override; | 340 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override; |
| 338 void SetMutatorsNeedCommit() override; | 341 void SetMutatorsNeedCommit() override; |
| 339 void SetMutatorsNeedRebuildPropertyTrees() override; | 342 void SetMutatorsNeedRebuildPropertyTrees() override; |
| 340 void SetLayerFilterMutated(int layer_id, | 343 void SetLayerFilterMutated(int layer_id, |
| 341 LayerTreeType tree_type, | 344 LayerTreeType tree_type, |
| 342 const FilterOperations& filters) override; | 345 const FilterOperations& filters) override; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 | 542 |
| 540 uint32_t surface_id_namespace_; | 543 uint32_t surface_id_namespace_; |
| 541 uint32_t next_surface_sequence_; | 544 uint32_t next_surface_sequence_; |
| 542 | 545 |
| 543 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 546 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 544 }; | 547 }; |
| 545 | 548 |
| 546 } // namespace cc | 549 } // namespace cc |
| 547 | 550 |
| 548 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 551 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |