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

Side by Side Diff: cc/layers/layer_iterator.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 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
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/layer_list_iterator.h » ('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 CC_LAYERS_LAYER_ITERATOR_H_ 5 #ifndef CC_LAYERS_LAYER_ITERATOR_H_
6 #define CC_LAYERS_LAYER_ITERATOR_H_ 6 #define CC_LAYERS_LAYER_ITERATOR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/cc_export.h"
11 #include "cc/layers/layer_impl.h" 11 #include "cc/layers/layer_impl.h"
12 #include "cc/trees/layer_tree_host_common.h" 12 #include "cc/trees/layer_tree_host_common.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 // These classes provide means to iterate over the 16 // These classes provide means to iterate over the
17 // RenderSurfaceImpl-LayerImpl tree. 17 // RenderSurfaceImpl-LayerImpl tree.
18 18
19 // Example code follows, for a tree of LayerImpl/RenderSurfaceImpl objects. 19 // Example code follows, for a tree of LayerImpl/RenderSurfaceImpl objects.
20 // See below for details. 20 // See below for details.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // Since the iterator must also stop at the layers representing 282 // Since the iterator must also stop at the layers representing
283 // the target surface, this is done by setting the current_layer_index 283 // the target surface, this is done by setting the current_layer_index
284 // to a value of 284 // to a value of
285 // LayerIteratorValue::kLayerIndexRepresentingTargetRenderSurface. 285 // LayerIteratorValue::kLayerIndexRepresentingTargetRenderSurface.
286 size_t current_layer_index_; 286 size_t current_layer_index_;
287 }; 287 };
288 288
289 } // namespace cc 289 } // namespace cc
290 290
291 #endif // CC_LAYERS_LAYER_ITERATOR_H_ 291 #endif // CC_LAYERS_LAYER_ITERATOR_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/layer_list_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698