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

Side by Side Diff: cc/layer_iterator.h

Issue 11225040: cc: Remove CC*.h temporary includes, part 5/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 2 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
« no previous file with comments | « cc/layer_impl_unittest.cc ('k') | cc/layer_iterator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CCLayerIterator_h 5 #ifndef CCLayerIterator_h
6 #define CCLayerIterator_h 6 #define CCLayerIterator_h
7 7
8 #include "CCLayerTreeHostCommon.h" 8 #include "cc/layer_tree_host_common.h"
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 // These classes provide means to iterate over the RenderSurface-Layer tree. 14 // These classes provide means to iterate over the RenderSurface-Layer tree.
15 15
16 // Example code follows, for a tree of LayerChromium/RenderSurfaceChromium objec ts. See below for details. 16 // Example code follows, for a tree of LayerChromium/RenderSurfaceChromium objec ts. See below for details.
17 // 17 //
18 // void doStuffOnLayers(const std::vector<scoped_refptr<LayerChromium> >& render SurfaceLayerList) 18 // void doStuffOnLayers(const std::vector<scoped_refptr<LayerChromium> >& render SurfaceLayerList)
(...skipping 180 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(CCLayerIterator<LayerType, LayerList, RenderSu rfaceType, ActionType>&); 202 void goToHighestInSubtree(CCLayerIterator<LayerType, LayerList, RenderSu rfaceType, ActionType>&);
203 }; 203 };
204 }; 204 };
205 205
206 } // namespace cc 206 } // namespace cc
207 207
208 #endif 208 #endif
OLDNEW
« no previous file with comments | « cc/layer_impl_unittest.cc ('k') | cc/layer_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698