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 CCLayerTestCommon_h | 5 #ifndef CCLayerTestCommon_h |
6 #define CCLayerTestCommon_h | 6 #define CCLayerTestCommon_h |
7 | 7 |
8 #include "IntRect.h" | 8 namespace cc { |
9 #include "Region.h" | 9 class QuadList; |
10 #include "cc/render_pass.h" | 10 } |
| 11 |
| 12 namespace gfx { |
| 13 class Rect; |
| 14 } |
11 | 15 |
12 namespace LayerTestCommon { | 16 namespace LayerTestCommon { |
13 | 17 |
14 extern const char* quadString; | 18 extern const char* quadString; |
15 | 19 |
16 void verifyQuadsExactlyCoverRect(const cc::QuadList&, const cc::IntRect&); | 20 void verifyQuadsExactlyCoverRect(const cc::QuadList&, const gfx::Rect&); |
17 | 21 |
18 } // namespace LayerTestCommon | 22 } // namespace LayerTestCommon |
19 #endif // CCLayerTestCommon_h | 23 #endif // CCLayerTestCommon_h |
OLD | NEW |