Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: cc/picture_layer_impl.h

Issue 11265046: cc: Add some impl-side painting stub classes and APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nduca bikesheddery Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/picture_layer.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..53ecec1f0953a9d742e41375744522ed0c61ec9a
--- /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_pile.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);
+
+ PicturePile pile_;
+
+ friend class PictureLayer;
+ DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
+};
+
+}
+
+#endif // CC_PICTURE_LAYER_IMPL_H_
« no previous file with comments | « cc/picture_layer.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698