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

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

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 CCRenderPassTestCommon_h 5 #ifndef CCRenderPassTestCommon_h
6 #define CCRenderPassTestCommon_h 6 #define CCRenderPassTestCommon_h
7 7
8 #include "CCRenderPass.h" 8 #include "CCRenderPass.h"
9 9
10 namespace WebKitTests { 10 namespace WebKitTests {
11 11
12 class CCTestRenderPass : public cc::CCRenderPass { 12 class TestRenderPass : public cc::RenderPass {
13 public: 13 public:
14 cc::CCQuadList& quadList() { return m_quadList; } 14 cc::QuadList& quadList() { return m_quadList; }
15 cc::CCSharedQuadStateList& sharedQuadStateList() { return m_sharedQuadStateL ist; } 15 cc::SharedQuadStateList& sharedQuadStateList() { return m_sharedQuadStateLis t; }
16 16
17 void appendQuad(scoped_ptr<cc::CCDrawQuad> quad) { m_quadList.append(quad.Pa ss()); } 17 void appendQuad(scoped_ptr<cc::DrawQuad> quad) { m_quadList.append(quad.Pass ()); }
18 void appendSharedQuadState(scoped_ptr<cc::CCSharedQuadState> state) { m_shar edQuadStateList.append(state.Pass()); } 18 void appendSharedQuadState(scoped_ptr<cc::SharedQuadState> state) { m_shared QuadStateList.append(state.Pass()); }
19 }; 19 };
20 20
21 } //namespace WebKitTests 21 } //namespace WebKitTests
22 22
23 #endif // CCRenderPassTestCommon_h 23 #endif // CCRenderPassTestCommon_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698