OLD | NEW |
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 "mash/webtest/webtest.h" | 5 #include "mash/webtest/webtest.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 #include "mash/public/interfaces/launchable.mojom.h" | 15 #include "mash/public/interfaces/launchable.mojom.h" |
16 #include "services/navigation/public/interfaces/view.mojom.h" | 16 #include "services/navigation/public/interfaces/view.mojom.h" |
17 #include "services/service_manager/public/c/main.h" | 17 #include "services/service_manager/public/c/main.h" |
18 #include "services/service_manager/public/cpp/connector.h" | 18 #include "services/service_manager/public/cpp/connector.h" |
19 #include "services/service_manager/public/cpp/interface_registry.h" | |
20 #include "services/service_manager/public/cpp/service.h" | 19 #include "services/service_manager/public/cpp/service.h" |
21 #include "services/service_manager/public/cpp/service_context.h" | 20 #include "services/service_manager/public/cpp/service_context.h" |
22 #include "services/service_manager/public/cpp/service_runner.h" | 21 #include "services/service_manager/public/cpp/service_runner.h" |
23 #include "services/tracing/public/cpp/provider.h" | 22 #include "services/tracing/public/cpp/provider.h" |
24 #include "ui/aura/mus/window_port_mus.h" | 23 #include "ui/aura/mus/window_port_mus.h" |
25 #include "ui/aura/window.h" | 24 #include "ui/aura/window.h" |
26 #include "ui/gfx/canvas.h" | 25 #include "ui/gfx/canvas.h" |
27 #include "ui/gfx/paint_throbber.h" | 26 #include "ui/gfx/paint_throbber.h" |
28 #include "ui/native_theme/native_theme.h" | 27 #include "ui/native_theme/native_theme.h" |
29 #include "ui/views/background.h" | 28 #include "ui/views/background.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 AddWindow(window); | 204 AddWindow(window); |
206 } | 205 } |
207 | 206 |
208 void Webtest::Create(const service_manager::Identity& remote_identity, | 207 void Webtest::Create(const service_manager::Identity& remote_identity, |
209 mojom::LaunchableRequest request) { | 208 mojom::LaunchableRequest request) { |
210 bindings_.AddBinding(this, std::move(request)); | 209 bindings_.AddBinding(this, std::move(request)); |
211 } | 210 } |
212 | 211 |
213 } // namespace webtest | 212 } // namespace webtest |
214 } // namespace mash | 213 } // namespace mash |
OLD | NEW |