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

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

Issue 11228059: cc: Remove CC*.h temporary includes, part 6/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase - fix conflicts Created 8 years, 1 month 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/layer_tree_test_common.cc ('k') | cc/test/scheduler_test_common.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"
9 #include "IntRect.h" 8 #include "IntRect.h"
10 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/draw_quad.h"
11 #include "cc/quad_sink.h" 11 #include "cc/quad_sink.h"
12 #include "cc/render_pass.h" 12 #include "cc/render_pass.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class MockQuadCuller : public QuadSink { 16 class MockQuadCuller : public QuadSink {
17 public: 17 public:
18 MockQuadCuller(); 18 MockQuadCuller();
19 virtual ~MockQuadCuller(); 19 virtual ~MockQuadCuller();
20 20
21 MockQuadCuller(QuadList& externalQuadList, SharedQuadStateList& externalShar edQuadStateList); 21 MockQuadCuller(QuadList& externalQuadList, SharedQuadStateList& externalShar edQuadStateList);
22 22
23 virtual bool append(scoped_ptr<DrawQuad> newQuad, AppendQuadsData&) OVERRIDE ; 23 virtual bool append(scoped_ptr<DrawQuad> newQuad, AppendQuadsData&) OVERRIDE ;
24 24
25 virtual SharedQuadState* useSharedQuadState(scoped_ptr<SharedQuadState> pass SharedQuadState) OVERRIDE; 25 virtual SharedQuadState* useSharedQuadState(scoped_ptr<SharedQuadState> pass SharedQuadState) OVERRIDE;
26 26
27 const QuadList& quadList() const { return m_activeQuadList; }; 27 const QuadList& quadList() const { return m_activeQuadList; };
28 const SharedQuadStateList& sharedQuadStateList() const { return m_activeShar edQuadStateList; }; 28 const SharedQuadStateList& sharedQuadStateList() const { return m_activeShar edQuadStateList; };
29 29
30 private: 30 private:
31 QuadList& m_activeQuadList; 31 QuadList& m_activeQuadList;
32 QuadList m_quadListStorage; 32 QuadList m_quadListStorage;
33 SharedQuadStateList& m_activeSharedQuadStateList; 33 SharedQuadStateList& m_activeSharedQuadStateList;
34 SharedQuadStateList m_sharedQuadStateStorage; 34 SharedQuadStateList m_sharedQuadStateStorage;
35 }; 35 };
36 36
37 } // namespace cc 37 } // namespace cc
38 38
39 #endif // MockCCQuadCuller_h 39 #endif // MockCCQuadCuller_h
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | cc/test/scheduler_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698