| Index: cc/picture_layer_impl.h
|
| diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6888c92244c9da5e0ea7b45ba6a42fd2353c9572
|
| --- /dev/null
|
| +++ b/cc/picture_layer_impl.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CC_PICTURE_LAYER_IMPL_H_
|
| +#define CC_PICTURE_LAYER_IMPL_H_
|
| +
|
| +#include "cc/layer_impl.h"
|
| +#include "cc/picture.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class CC_EXPORT PictureLayerImpl : public LayerImpl {
|
| +public:
|
| + static scoped_ptr<PictureLayerImpl> create(int id)
|
| + {
|
| + return make_scoped_ptr(new PictureLayerImpl(id));
|
| + }
|
| + virtual ~PictureLayerImpl();
|
| +
|
| +protected:
|
| + PictureLayerImpl(int id);
|
| +
|
| + Picture picture_;
|
| +
|
| + friend class PictureLayer;
|
| + DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
|
| +};
|
| +
|
| +}
|
| +
|
| +#endif // CC_PICTURE_LAYER_IMPL_H_
|
|
|