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

Side by Side Diff: cc/CCLayerSorter.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/CCLayerQuadTest.cpp ('k') | cc/CCLayerSorter.cpp » ('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 CCLayerSorter_h 5 #ifndef CCLayerSorter_h
6 #define CCLayerSorter_h 6 #define CCLayerSorter_h
7 7
8 #include "CCLayerImpl.h" 8 #include "CCLayerImpl.h"
9 #include "FloatPoint3D.h" 9 #include "FloatPoint3D.h"
10 #include "FloatQuad.h" 10 #include "FloatQuad.h"
11 #include "FloatRect.h" 11 #include "FloatRect.h"
12 #include <wtf/HashMap.h> 12 #include <wtf/HashMap.h>
13 #include <wtf/Noncopyable.h> 13 #include <wtf/Noncopyable.h>
14 #include <wtf/Vector.h> 14 #include <wtf/Vector.h>
15 15
16 namespace WebKit { 16 namespace WebKit {
17 class WebTransformationMatrix; 17 class WebTransformationMatrix;
18 } 18 }
19 19
20 namespace WebCore { 20 namespace cc {
21 21
22 class CCLayerSorter { 22 class CCLayerSorter {
23 WTF_MAKE_NONCOPYABLE(CCLayerSorter); 23 WTF_MAKE_NONCOPYABLE(CCLayerSorter);
24 public: 24 public:
25 CCLayerSorter() : m_zRange(0) { } 25 CCLayerSorter() : m_zRange(0) { }
26 26
27 typedef Vector<CCLayerImpl*> LayerList; 27 typedef Vector<CCLayerImpl*> LayerList;
28 28
29 void sort(LayerList::iterator first, LayerList::iterator last); 29 void sort(LayerList::iterator first, LayerList::iterator last);
30 30
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 typedef HashMap<GraphEdge*, GraphEdge*> EdgeMap; 79 typedef HashMap<GraphEdge*, GraphEdge*> EdgeMap;
80 EdgeMap m_activeEdges; 80 EdgeMap m_activeEdges;
81 81
82 void createGraphNodes(LayerList::iterator first, LayerList::iterator last); 82 void createGraphNodes(LayerList::iterator first, LayerList::iterator last);
83 void createGraphEdges(); 83 void createGraphEdges();
84 void removeEdgeFromList(GraphEdge*, Vector<GraphEdge*>&); 84 void removeEdgeFromList(GraphEdge*, Vector<GraphEdge*>&);
85 }; 85 };
86 86
87 } 87 }
88 #endif 88 #endif
OLDNEW
« no previous file with comments | « cc/CCLayerQuadTest.cpp ('k') | cc/CCLayerSorter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698