| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 5 #ifndef CC_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| 6 #define CC_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 6 #define CC_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| 7 | 7 |
| 8 #include "cc/base/scoped_ptr_vector.h" | 8 #include "cc/base/scoped_ptr_vector.h" |
| 9 #include "cc/quads/draw_quad.h" | 9 #include "cc/quads/draw_quad.h" |
| 10 #include "cc/quads/render_pass_id.h" | 10 #include "cc/quads/render_pass_id.h" |
| 11 #include "cc/surfaces/surface_id.h" | 11 #include "cc/surfaces/surface_id.h" |
| 12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
| 13 #include "ui/gfx/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| 17 class RenderPass; | 17 class RenderPass; |
| 18 class Surface; | 18 class Surface; |
| 19 class TestRenderPass; | 19 class TestRenderPass; |
| 20 | 20 |
| 21 typedef ScopedPtrVector<RenderPass> RenderPassList; | 21 typedef ScopedPtrVector<RenderPass> RenderPassList; |
| 22 | 22 |
| 23 namespace test { | 23 namespace test { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 void TestPassMatchesExpectations(Pass expected_pass, const RenderPass* pass); | 86 void TestPassMatchesExpectations(Pass expected_pass, const RenderPass* pass); |
| 87 | 87 |
| 88 void TestPassesMatchExpectations(Pass* expected_passes, | 88 void TestPassesMatchExpectations(Pass* expected_passes, |
| 89 size_t expected_pass_count, | 89 size_t expected_pass_count, |
| 90 const RenderPassList* passes); | 90 const RenderPassList* passes); |
| 91 | 91 |
| 92 } // namespace test | 92 } // namespace test |
| 93 } // namespace cc | 93 } // namespace cc |
| 94 | 94 |
| 95 #endif // CC_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 95 #endif // CC_SURFACES_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| OLD | NEW |