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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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.cc ('k') | cc/layers/layer_unittest.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 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>
9
8 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
9 #include "cc/layers/layer_impl.h" 11 #include "cc/layers/layer_impl.h"
10 #include "cc/trees/layer_tree_host_common.h" 12 #include "cc/trees/layer_tree_host_common.h"
11 13
12 namespace cc { 14 namespace cc {
13 15
14 // These classes provide means to iterate over the 16 // These classes provide means to iterate over the
15 // RenderSurfaceImpl-LayerImpl tree. 17 // RenderSurfaceImpl-LayerImpl tree.
16 18
17 // Example code follows, for a tree of LayerImpl/RenderSurfaceImpl objects. 19 // Example code follows, for a tree of LayerImpl/RenderSurfaceImpl objects.
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Since the iterator must also stop at the layers representing 283 // Since the iterator must also stop at the layers representing
282 // the target surface, this is done by setting the current_layer_index 284 // the target surface, this is done by setting the current_layer_index
283 // to a value of 285 // to a value of
284 // LayerIteratorValue::kLayerIndexRepresentingTargetRenderSurface. 286 // LayerIteratorValue::kLayerIndexRepresentingTargetRenderSurface.
285 size_t current_layer_index_; 287 size_t current_layer_index_;
286 }; 288 };
287 289
288 } // namespace cc 290 } // namespace cc
289 291
290 #endif // CC_LAYERS_LAYER_ITERATOR_H_ 292 #endif // CC_LAYERS_LAYER_ITERATOR_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698