Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: ui/views/mus/views_mus_test_suite.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/mus/surface_context_factory.cc ('k') | ui/views/mus/window_manager_connection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/views/mus/views_mus_test_suite.h" 5 #include "ui/views/mus/views_mus_test_suite.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "base/threading/simple_thread.h" 13 #include "base/threading/simple_thread.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "components/mus/common/gpu_service.h"
16 #include "components/mus/common/switches.h"
17 #include "services/shell/background/background_shell.h" 15 #include "services/shell/background/background_shell.h"
18 #include "services/shell/public/cpp/connector.h" 16 #include "services/shell/public/cpp/connector.h"
19 #include "services/shell/public/cpp/shell_client.h" 17 #include "services/shell/public/cpp/shell_client.h"
20 #include "services/shell/public/cpp/shell_connection.h" 18 #include "services/shell/public/cpp/shell_connection.h"
19 #include "services/ui/common/gpu_service.h"
20 #include "services/ui/common/switches.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "ui/views/mus/window_manager_connection.h" 22 #include "ui/views/mus/window_manager_connection.h"
23 #include "ui/views/test/platform_test_helper.h" 23 #include "ui/views/test/platform_test_helper.h"
24 #include "ui/views/views_delegate.h" 24 #include "ui/views/views_delegate.h"
25 25
26 namespace views { 26 namespace views {
27 namespace { 27 namespace {
28 28
29 void EnsureCommandLineSwitch(const std::string& name) { 29 void EnsureCommandLineSwitch(const std::string& name) {
30 base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); 30 base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ViewsTestSuite::Initialize(); 172 ViewsTestSuite::Initialize();
173 shell_connections_.reset(new ShellConnection); 173 shell_connections_.reset(new ShellConnection);
174 } 174 }
175 175
176 void ViewsMusTestSuite::Shutdown() { 176 void ViewsMusTestSuite::Shutdown() {
177 shell_connections_.reset(); 177 shell_connections_.reset();
178 ViewsTestSuite::Shutdown(); 178 ViewsTestSuite::Shutdown();
179 } 179 }
180 180
181 } // namespace views 181 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/surface_context_factory.cc ('k') | ui/views/mus/window_manager_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698