OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ |
6 #define CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ | 6 #define CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.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_vector.h" | |
12 #include "cc/layers/layer_impl.h" | 11 #include "cc/layers/layer_impl.h" |
13 | 12 |
14 namespace cc { | 13 namespace cc { |
15 class DelegatedFrameData; | 14 class DelegatedFrameData; |
16 class RenderPassSink; | 15 class RenderPassSink; |
17 | 16 |
18 class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { | 17 class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { |
19 public: | 18 public: |
20 static scoped_ptr<DelegatedRendererLayerImpl> Create( | 19 static scoped_ptr<DelegatedRendererLayerImpl> Create( |
21 LayerTreeImpl* tree_impl, int id) { | 20 LayerTreeImpl* tree_impl, int id) { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 93 |
95 int child_id_; | 94 int child_id_; |
96 bool own_child_id_; | 95 bool own_child_id_; |
97 | 96 |
98 DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl); | 97 DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl); |
99 }; | 98 }; |
100 | 99 |
101 } // namespace cc | 100 } // namespace cc |
102 | 101 |
103 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ | 102 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ |
OLD | NEW |