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

Unified Diff: cc/layers/layer_lists.h

Issue 13285002: cc: Consolidate LayerList types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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/layers/layer_iterator_unittest.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_lists.h
diff --git a/cc/layers/layer_lists.h b/cc/layers/layer_lists.h
new file mode 100644
index 0000000000000000000000000000000000000000..83ef5fd049172b37a774fe8bb3dcaf2b4ae23f01
--- /dev/null
+++ b/cc/layers/layer_lists.h
@@ -0,0 +1,24 @@
+// Copyright 2013 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_LAYERS_LAYER_LISTS_H_
+#define CC_LAYERS_LAYER_LISTS_H_
+
+#include <vector>
+
+#include "base/memory/ref_counted.h"
+#include "cc/base/scoped_ptr_vector.h"
+
+namespace cc {
+class Layer;
+class LayerImpl;
+
+typedef std::vector<scoped_refptr<Layer> > LayerList;
+
+typedef ScopedPtrVector<LayerImpl> OwnedLayerImplList;
+typedef std::vector<LayerImpl*> LayerImplList;
+
+} // namespace cc
+
+#endif // CC_LAYERS_LAYER_LISTS_H_
« no previous file with comments | « cc/layers/layer_iterator_unittest.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698