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

Side by Side Diff: cc/test/MockCCQuadCuller.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/test/FakeWebGraphicsContext3D.h ('k') | webkit/compositor_bindings/CCThreadImpl.h » ('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 MockCCQuadCuller_h 5 #ifndef MockCCQuadCuller_h
6 #define MockCCQuadCuller_h 6 #define MockCCQuadCuller_h
7 7
8 #include "CCDrawQuad.h" 8 #include "CCDrawQuad.h"
9 #include "CCQuadSink.h" 9 #include "CCQuadSink.h"
10 #include "IntRect.h" 10 #include "IntRect.h"
11 #include <wtf/PassOwnPtr.h> 11 #include <wtf/PassOwnPtr.h>
12 12
13 namespace WebCore { 13 namespace cc {
14 14
15 class MockCCQuadCuller : public CCQuadSink { 15 class MockCCQuadCuller : public CCQuadSink {
16 public: 16 public:
17 MockCCQuadCuller() 17 MockCCQuadCuller()
18 : m_activeQuadList(m_quadListStorage) 18 : m_activeQuadList(m_quadListStorage)
19 , m_activeSharedQuadStateList(m_sharedQuadStateStorage) 19 , m_activeSharedQuadStateList(m_sharedQuadStateStorage)
20 { } 20 { }
21 21
22 explicit MockCCQuadCuller(CCQuadList& externalQuadList, CCSharedQuadStateLis t& externalSharedQuadStateList) 22 explicit MockCCQuadCuller(CCQuadList& externalQuadList, CCSharedQuadStateLis t& externalSharedQuadStateList)
23 : m_activeQuadList(externalQuadList) 23 : m_activeQuadList(externalQuadList)
(...skipping 23 matching lines...) Expand all
47 const CCQuadList& quadList() const { return m_activeQuadList; }; 47 const CCQuadList& quadList() const { return m_activeQuadList; };
48 const CCSharedQuadStateList& sharedQuadStateList() const { return m_activeSh aredQuadStateList; }; 48 const CCSharedQuadStateList& sharedQuadStateList() const { return m_activeSh aredQuadStateList; };
49 49
50 private: 50 private:
51 CCQuadList& m_activeQuadList; 51 CCQuadList& m_activeQuadList;
52 CCQuadList m_quadListStorage; 52 CCQuadList m_quadListStorage;
53 CCSharedQuadStateList& m_activeSharedQuadStateList; 53 CCSharedQuadStateList& m_activeSharedQuadStateList;
54 CCSharedQuadStateList m_sharedQuadStateStorage; 54 CCSharedQuadStateList m_sharedQuadStateStorage;
55 }; 55 };
56 56
57 } // namespace WebCore 57 } // namespace cc
58 #endif // MockCCQuadCuller_h 58 #endif // MockCCQuadCuller_h
OLDNEW
« no previous file with comments | « cc/test/FakeWebGraphicsContext3D.h ('k') | webkit/compositor_bindings/CCThreadImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698