| 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_TREE_SYNCHRONIZER_H_ | 5 #ifndef CC_TREES_TREE_SYNCHRONIZER_H_ |
| 6 #define CC_TREES_TREE_SYNCHRONIZER_H_ | 6 #define CC_TREES_TREE_SYNCHRONIZER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "cc/base/scoped_ptr_hash_map.h" | |
| 12 | 11 |
| 13 namespace cc { | 12 namespace cc { |
| 14 | 13 |
| 15 class LayerImpl; | 14 class LayerImpl; |
| 16 class LayerTreeImpl; | 15 class LayerTreeImpl; |
| 17 class Layer; | 16 class Layer; |
| 18 | 17 |
| 19 class CC_EXPORT TreeSynchronizer { | 18 class CC_EXPORT TreeSynchronizer { |
| 20 public: | 19 public: |
| 21 // Accepts a Layer tree and returns a reference to a LayerImpl tree that | 20 // Accepts a Layer tree and returns a reference to a LayerImpl tree that |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 LayerType* layer, | 46 LayerType* layer, |
| 48 LayerImpl* layer_impl, | 47 LayerImpl* layer_impl, |
| 49 size_t* num_dependents_need_push_properties_for_parent); | 48 size_t* num_dependents_need_push_properties_for_parent); |
| 50 | 49 |
| 51 DISALLOW_COPY_AND_ASSIGN(TreeSynchronizer); | 50 DISALLOW_COPY_AND_ASSIGN(TreeSynchronizer); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace cc | 53 } // namespace cc |
| 55 | 54 |
| 56 #endif // CC_TREES_TREE_SYNCHRONIZER_H_ | 55 #endif // CC_TREES_TREE_SYNCHRONIZER_H_ |
| OLD | NEW |