| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_COMPOSITOR_FRAME_HELPERS_H_ | 5 #ifndef CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ |
| 6 #define CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ | 6 #define CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ |
| 7 | 7 |
| 8 namespace cc { | 8 namespace cc { |
| 9 | 9 |
| 10 class CompositorFrame; | 10 class CompositorFrame; |
| 11 | 11 |
| 12 namespace test { | 12 namespace test { |
| 13 | 13 |
| 14 // Creates a valid CompositorFrame. |
| 14 CompositorFrame MakeCompositorFrame(); | 15 CompositorFrame MakeCompositorFrame(); |
| 15 | 16 |
| 17 // Creates a CompositorFrame that will be valid once its render_pass_list is |
| 18 // initialized. |
| 19 CompositorFrame MakeEmptyCompositorFrame(); |
| 20 |
| 16 } // namespace test | 21 } // namespace test |
| 17 } // namespace cc | 22 } // namespace cc |
| 18 | 23 |
| 19 #endif // CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ | 24 #endif // CC_TEST_COMPOSITOR_FRAME_HELPERS_H_ |
| OLD | NEW |