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

Side by Side Diff: cc/trees/layer_sorter.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/damage_tracker_unittest.cc ('k') | cc/trees/layer_sorter.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_SORTER_H_ 5 #ifndef CC_TREES_LAYER_SORTER_H_
6 #define CC_TREES_LAYER_SORTER_H_ 6 #define CC_TREES_LAYER_SORTER_H_
7 7
8 #include <vector>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
10 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
11 #include "cc/layers/layer_impl.h" 13 #include "cc/layers/layer_impl.h"
12 #include "ui/gfx/point3_f.h" 14 #include "ui/gfx/point3_f.h"
13 #include "ui/gfx/quad_f.h" 15 #include "ui/gfx/quad_f.h"
14 #include "ui/gfx/rect_f.h" 16 #include "ui/gfx/rect_f.h"
15 #include "ui/gfx/vector3d_f.h" 17 #include "ui/gfx/vector3d_f.h"
16 18
17 #if defined(COMPILER_GCC) 19 #if defined(COMPILER_GCC)
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 typedef base::hash_map<GraphEdge*, GraphEdge*> EdgeMap; 104 typedef base::hash_map<GraphEdge*, GraphEdge*> EdgeMap;
103 EdgeMap active_edges_; 105 EdgeMap active_edges_;
104 106
105 void CreateGraphNodes(LayerList::iterator first, LayerList::iterator last); 107 void CreateGraphNodes(LayerList::iterator first, LayerList::iterator last);
106 void CreateGraphEdges(); 108 void CreateGraphEdges();
107 void RemoveEdgeFromList(GraphEdge* graph, std::vector<GraphEdge*>* list); 109 void RemoveEdgeFromList(GraphEdge* graph, std::vector<GraphEdge*>* list);
108 110
109 DISALLOW_COPY_AND_ASSIGN(LayerSorter); 111 DISALLOW_COPY_AND_ASSIGN(LayerSorter);
110 }; 112 };
111 113
112 } 114 } // namespace cc
113 #endif // CC_TREES_LAYER_SORTER_H_ 115 #endif // CC_TREES_LAYER_SORTER_H_
OLDNEW
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_sorter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698