OLD | NEW |
1 // Copyright (c) 2012 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 #include "ui/compositor/test/test_suite.h" | 5 #include "ui/compositor/test/test_suite.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | |
9 #include "ui/base/ui_base_paths.h" | 8 #include "ui/base/ui_base_paths.h" |
10 #include "ui/compositor/compositor.h" | 9 #include "ui/compositor/compositor.h" |
11 #include "ui/compositor/test/compositor_test_support.h" | 10 #include "ui/compositor/test/compositor_test_support.h" |
12 #include "ui/gfx/gfx_paths.h" | 11 #include "ui/gfx/gfx_paths.h" |
13 #include "ui/gl/gl_implementation.h" | 12 #include "ui/gl/gl_implementation.h" |
14 | 13 |
15 CompositorTestSuite::CompositorTestSuite(int argc, char** argv) | 14 CompositorTestSuite::CompositorTestSuite(int argc, char** argv) |
16 : TestSuite(argc, argv) {} | 15 : TestSuite(argc, argv) {} |
17 | 16 |
18 CompositorTestSuite::~CompositorTestSuite() {} | 17 CompositorTestSuite::~CompositorTestSuite() {} |
(...skipping 11 matching lines...) Expand all Loading... |
30 ui::Compositor::Initialize(false); | 29 ui::Compositor::Initialize(false); |
31 } | 30 } |
32 | 31 |
33 void CompositorTestSuite::Shutdown() { | 32 void CompositorTestSuite::Shutdown() { |
34 ui::Compositor::Terminate(); | 33 ui::Compositor::Terminate(); |
35 ui::CompositorTestSupport::Terminate(); | 34 ui::CompositorTestSupport::Terminate(); |
36 message_loop_.reset(); | 35 message_loop_.reset(); |
37 | 36 |
38 base::TestSuite::Shutdown(); | 37 base::TestSuite::Shutdown(); |
39 } | 38 } |
OLD | NEW |