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

Unified Diff: cc/layers/layer_lists.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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_lists.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
deleted file mode 100644
index 9a4084b340fe7cd361c8512d3ef8792733ef6dd8..0000000000000000000000000000000000000000
--- a/cc/layers/layer_lists.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// 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/cc_export.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;
-
-class CC_EXPORT RenderSurfaceLayerList {
- public:
- RenderSurfaceLayerList();
- ~RenderSurfaceLayerList();
-
- Layer* at(size_t i) const;
- void pop_back();
- void push_back(const scoped_refptr<Layer>& layer);
- Layer* back();
- size_t size() const;
- bool empty() const { return size() == 0u; }
- scoped_refptr<Layer>& operator[](size_t i);
- const scoped_refptr<Layer>& operator[](size_t i) const;
- LayerList::iterator begin();
- LayerList::iterator end();
- LayerList::const_iterator begin() const;
- LayerList::const_iterator end() const;
- void clear();
- LayerList& AsLayerList() { return list_; }
- const LayerList& AsLayerList() const { return list_; }
-
- private:
- LayerList list_;
-
- DISALLOW_COPY_AND_ASSIGN(RenderSurfaceLayerList);
-};
-
-} // namespace cc
-
-#endif // CC_LAYERS_LAYER_LISTS_H_
« no previous file with comments | « cc/layers/layer_iterator_unittest.cc ('k') | cc/layers/layer_lists.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698