OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_PICTURE_LAYER_IMPL_H_ |
| 6 #define CC_PICTURE_LAYER_IMPL_H_ |
| 7 |
| 8 #include "cc/layer_impl.h" |
| 9 #include "cc/picture.h" |
| 10 |
| 11 namespace cc { |
| 12 |
| 13 class CC_EXPORT PictureLayerImpl : public LayerImpl { |
| 14 public: |
| 15 static scoped_ptr<PictureLayerImpl> create(int id) |
| 16 { |
| 17 return make_scoped_ptr(new PictureLayerImpl(id)); |
| 18 } |
| 19 virtual ~PictureLayerImpl(); |
| 20 |
| 21 protected: |
| 22 PictureLayerImpl(int id); |
| 23 |
| 24 Picture picture_; |
| 25 |
| 26 friend class PictureLayer; |
| 27 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
| 28 }; |
| 29 |
| 30 } |
| 31 |
| 32 #endif // CC_PICTURE_LAYER_IMPL_H_ |
OLD | NEW |