| 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" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // LayerImpl overrides. | 80 // LayerImpl overrides. |
| 81 virtual const char* LayerTypeAsString() const OVERRIDE; | 81 virtual const char* LayerTypeAsString() const OVERRIDE; |
| 82 | 82 |
| 83 ScopedPtrVector<RenderPass> render_passes_in_draw_order_; | 83 ScopedPtrVector<RenderPass> render_passes_in_draw_order_; |
| 84 base::hash_map<RenderPass::Id, int> render_passes_index_by_id_; | 84 base::hash_map<RenderPass::Id, int> render_passes_index_by_id_; |
| 85 ResourceProvider::ResourceIdSet resources_; | 85 ResourceProvider::ResourceIdSet resources_; |
| 86 | 86 |
| 87 gfx::Size display_size_; | 87 gfx::Size display_size_; |
| 88 int child_id_; | 88 int child_id_; |
| 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl); |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 } // namespace cc | 93 } // namespace cc |
| 92 | 94 |
| 93 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ | 95 #endif // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_ |
| OLD | NEW |