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

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

Issue 12963007: cc: Chromify LayerTestCommon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/layers/tiled_layer_impl_unittest.cc ('k') | cc/test/layer_test_common.cc » ('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 CC_TEST_LAYER_TEST_COMMON_H_ 5 #ifndef CC_TEST_LAYER_TEST_COMMON_H_
6 #define CC_TEST_LAYER_TEST_COMMON_H_ 6 #define CC_TEST_LAYER_TEST_COMMON_H_
7 7
8 namespace gfx { class Rect; }
9
8 namespace cc { 10 namespace cc {
9 class QuadList; 11 class QuadList;
10 }
11 12
12 namespace gfx { 13 class LayerTestCommon {
13 class Rect; 14 public:
14 } 15 static const char* quad_string;
15 16
16 namespace cc { 17 static void VerifyQuadsExactlyCoverRect(const cc::QuadList& quads,
17 namespace LayerTestCommon { 18 gfx::Rect rect);
19 };
18 20
19 extern const char* quadString; 21 } // namespace cc
20
21 void verifyQuadsExactlyCoverRect(const cc::QuadList&, const gfx::Rect&);
22
23 } // namespace LayerTestCommon
24 } // namespace cc
25 22
26 #endif // CC_TEST_LAYER_TEST_COMMON_H_ 23 #endif // CC_TEST_LAYER_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/layers/tiled_layer_impl_unittest.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698