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 TreeSynchronizer_h | 5 #ifndef CC_TREE_SYNCHRONIZER_H_ |
6 #define TreeSynchronizer_h | 6 #define CC_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/cc_export.h" | 10 #include "cc/cc_export.h" |
11 #include "cc/scoped_ptr_hash_map.h" | 11 #include "cc/scoped_ptr_hash_map.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 class LayerImpl; | 15 class LayerImpl; |
16 class LayerTreeHostImpl; | 16 class LayerTreeHostImpl; |
(...skipping 15 matching lines...) Expand all Loading... |
32 static scoped_ptr<LayerImpl> reuseOrCreateLayerImpl(RawPtrLayerImplMap& newL
ayers, ScopedPtrLayerImplMap& oldLayers, Layer*); | 32 static scoped_ptr<LayerImpl> reuseOrCreateLayerImpl(RawPtrLayerImplMap& newL
ayers, ScopedPtrLayerImplMap& oldLayers, Layer*); |
33 static void collectExistingLayerImplRecursive(ScopedPtrLayerImplMap& oldLaye
rs, scoped_ptr<LayerImpl>); | 33 static void collectExistingLayerImplRecursive(ScopedPtrLayerImplMap& oldLaye
rs, scoped_ptr<LayerImpl>); |
34 static scoped_ptr<LayerImpl> synchronizeTreeRecursive(RawPtrLayerImplMap& ne
wLayers, ScopedPtrLayerImplMap& oldLayers, Layer*, LayerTreeHostImpl*); | 34 static scoped_ptr<LayerImpl> synchronizeTreeRecursive(RawPtrLayerImplMap& ne
wLayers, ScopedPtrLayerImplMap& oldLayers, Layer*, LayerTreeHostImpl*); |
35 static void updateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap&
newLayers, Layer*); | 35 static void updateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap&
newLayers, Layer*); |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(TreeSynchronizer); | 37 DISALLOW_COPY_AND_ASSIGN(TreeSynchronizer); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace cc | 40 } // namespace cc |
41 | 41 |
42 #endif // TreeSynchronizer_h | 42 #endif // CC_TREE_SYNCHRONIZER_H_ |
OLD | NEW |