| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ |
| 6 #define UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ | 6 #define UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 class CompositorTestSupport { | 11 class CompositorTestSupport { |
| 12 public: | 12 public: |
| 13 // Called by programs that want to use a real compositor, | 13 // Called by programs that want to use a real compositor, |
| 14 // but skip the typical initialization of browser_main.cc. | 14 // but skip the typical initialization of browser_main.cc. |
| 15 static void Initialize(); | 15 static void Initialize(); |
| 16 static void Terminate(); | 16 static void Terminate(); |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 } // namespace ui | 19 } // namespace ui |
| 20 | 20 |
| 21 #endif // UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ | 21 #endif // UI_GFX_COMPOSITOR_TEST_TEST_SUPPORT_H_ |
| OLD | NEW |