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

Side by Side Diff: cc/CCLayerIterator.cpp

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/CCLayerIterator.h ('k') | cc/CCLayerIteratorTest.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 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 #include "config.h" 5 #include "config.h"
6 6
7 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "CCLayerIterator.h" 9 #include "CCLayerIterator.h"
10 10
11 #include "CCLayerImpl.h" 11 #include "CCLayerImpl.h"
12 #include "CCRenderSurface.h" 12 #include "CCRenderSurface.h"
13 #include "LayerChromium.h" 13 #include "LayerChromium.h"
14 #include "RenderSurfaceChromium.h" 14 #include "RenderSurfaceChromium.h"
15 15
16 namespace WebCore { 16 namespace cc {
17 17
18 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty pename ActionType> 18 template <typename LayerType, typename LayerList, typename RenderSurfaceType, ty pename ActionType>
19 void CCLayerIteratorActions::BackToFront::begin(CCLayerIterator<LayerType, Layer List, RenderSurfaceType, ActionType>& it) 19 void CCLayerIteratorActions::BackToFront::begin(CCLayerIterator<LayerType, Layer List, RenderSurfaceType, ActionType>& it)
20 { 20 {
21 it.m_targetRenderSurfaceLayerIndex = 0; 21 it.m_targetRenderSurfaceLayerIndex = 0;
22 it.m_currentLayerIndex = CCLayerIteratorValue::LayerIndexRepresentingTargetR enderSurface; 22 it.m_currentLayerIndex = CCLayerIteratorValue::LayerIndexRepresentingTargetR enderSurface;
23 23
24 m_highestTargetRenderSurfaceLayer = 0; 24 m_highestTargetRenderSurfaceLayer = 0;
25 } 25 }
26 26
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<LayerChr omium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); 138 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<LayerChr omium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&);
139 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<LayerChro mium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); 139 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<LayerChro mium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&);
140 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<LayerCh romium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&); 140 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<LayerCh romium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, FrontToBack>&);
141 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI terator<LayerChromium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, Fr ontToBack>&); 141 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI terator<LayerChromium, Vector<RefPtr<LayerChromium> >, RenderSurfaceChromium, Fr ontToBack>&);
142 142
143 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<CCLayerI mpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); 143 template void CCLayerIteratorActions::FrontToBack::next(CCLayerIterator<CCLayerI mpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&);
144 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<CCLayerIm pl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); 144 template void CCLayerIteratorActions::FrontToBack::end(CCLayerIterator<CCLayerIm pl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&);
145 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<CCLayer Impl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); 145 template void CCLayerIteratorActions::FrontToBack::begin(CCLayerIterator<CCLayer Impl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&);
146 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI terator<CCLayerImpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&); 146 template void CCLayerIteratorActions::FrontToBack::goToHighestInSubtree(CCLayerI terator<CCLayerImpl, Vector<CCLayerImpl*>, CCRenderSurface, FrontToBack>&);
147 147
148 } // namespace WebCore 148 } // namespace cc
149 149
150 #endif // USE(ACCELERATED_COMPOSITING) 150 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCLayerIterator.h ('k') | cc/CCLayerIteratorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698