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_TILED_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_TILED_LAYER_IMPL_H_ |
6 #define CC_TILED_LAYER_IMPL_H_ | 6 #define CC_LAYERS_TILED_LAYER_IMPL_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layer_impl.h" | 9 #include "cc/layers/layer_impl.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 class LayerTilingData; | 13 class LayerTilingData; |
14 class DrawableTile; | 14 class DrawableTile; |
15 | 15 |
16 class CC_EXPORT TiledLayerImpl : public LayerImpl { | 16 class CC_EXPORT TiledLayerImpl : public LayerImpl { |
17 public: | 17 public: |
18 static scoped_ptr<TiledLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { | 18 static scoped_ptr<TiledLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { |
19 return make_scoped_ptr(new TiledLayerImpl(tree_impl, id)); | 19 return make_scoped_ptr(new TiledLayerImpl(tree_impl, id)); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 bool skips_draw_; | 61 bool skips_draw_; |
62 | 62 |
63 scoped_ptr<LayerTilingData> tiler_; | 63 scoped_ptr<LayerTilingData> tiler_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl); | 65 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace cc | 68 } // namespace cc |
69 | 69 |
70 #endif // CC_TILED_LAYER_IMPL_H_ | 70 #endif // CC_LAYERS_TILED_LAYER_IMPL_H_ |
OLD | NEW |