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

Side by Side Diff: cc/trees/layer_tree_host_common.h

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/layer_tree_host_common.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_TREES_LAYER_TREE_HOST_COMMON_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_
7 7
8 #include <vector>
9
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
9 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
10 #include "cc/base/scoped_ptr_vector.h" 12 #include "cc/base/scoped_ptr_vector.h"
11 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
12 #include "ui/gfx/transform.h" 14 #include "ui/gfx/transform.h"
13 #include "ui/gfx/vector2d.h" 15 #include "ui/gfx/vector2d.h"
14 16
15 namespace cc { 17 namespace cc {
16 18
17 class LayerImpl; 19 class LayerImpl;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 143
142 for (size_t i = 0; i < root_layer->children().size(); ++i) { 144 for (size_t i = 0; i < root_layer->children().size(); ++i) {
143 CallFunctionForSubtree<Function>( 145 CallFunctionForSubtree<Function>(
144 get_child_as_raw_ptr(root_layer->children(), i)); 146 get_child_as_raw_ptr(root_layer->children(), i));
145 } 147 }
146 } 148 }
147 149
148 } // namespace cc 150 } // namespace cc
149 151
150 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 152 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698