OLD | NEW |
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_ |
OLD | NEW |