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/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/base/scoped_ptr_vector.h" | 10 #include "cc/base/scoped_ptr_vector.h" |
11 #include "cc/layers/layer_impl.h" | 11 #include "cc/layers/layer_impl.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class DelegatedFrameData; | 14 class DelegatedFrameData; |
| 15 class RenderPassSink; |
15 | 16 |
16 class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { | 17 class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { |
17 public: | 18 public: |
18 static scoped_ptr<DelegatedRendererLayerImpl> Create( | 19 static scoped_ptr<DelegatedRendererLayerImpl> Create( |
19 LayerTreeImpl* tree_impl, int id) { | 20 LayerTreeImpl* tree_impl, int id) { |
20 return make_scoped_ptr(new DelegatedRendererLayerImpl(tree_impl, id)); | 21 return make_scoped_ptr(new DelegatedRendererLayerImpl(tree_impl, id)); |
21 } | 22 } |
22 virtual ~DelegatedRendererLayerImpl(); | 23 virtual ~DelegatedRendererLayerImpl(); |
23 | 24 |
24 // LayerImpl overrides. | 25 // LayerImpl overrides. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 87 |
87 gfx::Size display_size_; | 88 gfx::Size display_size_; |
88 int child_id_; | 89 int child_id_; |
89 | 90 |
90 DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl); | 91 DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl); |
91 }; | 92 }; |
92 | 93 |
93 } // namespace cc | 94 } // namespace cc |
94 | 95 |
95 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ | 96 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ |
OLD | NEW |