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

Side by Side Diff: cc/test/MockCCQuadCuller.h

Issue 11108020: [cc] Change cc_tests.gyp filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 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/FakeWebScrollbarThemeGeometry.h ('k') | cc/test/MockCCQuadCuller.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 #ifndef MockCCQuadCuller_h 5 // Temporary forwarding header
6 #define MockCCQuadCuller_h 6 #include "cc/test/mock_quad_culler.h"
7
8 #include "CCDrawQuad.h"
9 #include "CCQuadSink.h"
10 #include "CCRenderPass.h"
11 #include "IntRect.h"
12 #include "base/memory/scoped_ptr.h"
13
14 namespace cc {
15
16 class MockCCQuadCuller : public CCQuadSink {
17 public:
18 MockCCQuadCuller();
19 virtual ~MockCCQuadCuller();
20
21 MockCCQuadCuller(CCQuadList& externalQuadList, CCSharedQuadStateList& extern alSharedQuadStateList);
22
23 virtual bool append(scoped_ptr<CCDrawQuad> newQuad, CCAppendQuadsData&) OVER RIDE;
24
25 virtual CCSharedQuadState* useSharedQuadState(scoped_ptr<CCSharedQuadState> passSharedQuadState) OVERRIDE;
26
27 const CCQuadList& quadList() const { return m_activeQuadList; };
28 const CCSharedQuadStateList& sharedQuadStateList() const { return m_activeSh aredQuadStateList; };
29
30 private:
31 CCQuadList& m_activeQuadList;
32 CCQuadList m_quadListStorage;
33 CCSharedQuadStateList& m_activeSharedQuadStateList;
34 CCSharedQuadStateList m_sharedQuadStateStorage;
35 };
36
37 } // namespace cc
38 #endif // MockCCQuadCuller_h
OLDNEW
« no previous file with comments | « cc/test/FakeWebScrollbarThemeGeometry.h ('k') | cc/test/MockCCQuadCuller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698