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

Side by Side Diff: cc/layer_iterator.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYER_ITERATOR_H_ 5 #ifndef CC_LAYER_ITERATOR_H_
6 #define CC_LAYER_ITERATOR_H_ 6 #define CC_LAYER_ITERATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "cc/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/layer_tree_host_common.h" 10 #include "cc/layer_tree_host_common.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 // These classes provide means to iterate over the RenderSurfaceImpl-Layer tree. 14 // These classes provide means to iterate over the RenderSurfaceImpl-Layer tree.
15 15
16 // Example code follows, for a tree of Layer/RenderSurface objects. See below fo r details. 16 // Example code follows, for a tree of Layer/RenderSurface objects. See below fo r details.
17 // 17 //
18 // void doStuffOnLayers(const std::vector<scoped_refptr<Layer> >& renderSurfaceL ayerList) 18 // void doStuffOnLayers(const std::vector<scoped_refptr<Layer> >& renderSurfaceL ayerList)
19 // { 19 // {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 private: 200 private:
201 template <typename LayerType, typename LayerList, typename RenderSurface Type, typename ActionType> 201 template <typename LayerType, typename LayerList, typename RenderSurface Type, typename ActionType>
202 void goToHighestInSubtree(LayerIterator<LayerType, LayerList, RenderSurf aceType, ActionType>&); 202 void goToHighestInSubtree(LayerIterator<LayerType, LayerList, RenderSurf aceType, ActionType>&);
203 }; 203 };
204 }; 204 };
205 205
206 } // namespace cc 206 } // namespace cc
207 207
208 #endif // CC_LAYER_ITERATOR_H_ 208 #endif // CC_LAYER_ITERATOR_H_
OLDNEW
« cc/cc.gyp ('K') | « cc/layer_impl.cc ('k') | cc/layer_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698