| 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_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 5 #ifndef CC_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| 6 #define CC_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 6 #define CC_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "cc/quads/draw_quad.h" | 12 #include "cc/quads/draw_quad.h" |
| 11 #include "cc/quads/render_pass_id.h" | 13 #include "cc/quads/render_pass_id.h" |
| 12 #include "cc/surfaces/surface_id.h" | 14 #include "cc/surfaces/surface_id.h" |
| 13 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 14 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
| 15 | 17 |
| 16 namespace cc { | 18 namespace cc { |
| 17 | 19 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 void TestPassMatchesExpectations(Pass expected_pass, const RenderPass* pass); | 88 void TestPassMatchesExpectations(Pass expected_pass, const RenderPass* pass); |
| 87 | 89 |
| 88 void TestPassesMatchExpectations(Pass* expected_passes, | 90 void TestPassesMatchExpectations(Pass* expected_passes, |
| 89 size_t expected_pass_count, | 91 size_t expected_pass_count, |
| 90 const RenderPassList* passes); | 92 const RenderPassList* passes); |
| 91 | 93 |
| 92 } // namespace test | 94 } // namespace test |
| 93 } // namespace cc | 95 } // namespace cc |
| 94 | 96 |
| 95 #endif // CC_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ | 97 #endif // CC_TEST_SURFACE_AGGREGATOR_TEST_HELPERS_H_ |
| OLD | NEW |