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/quick_launch/quick_launch.h" | 5 #include "mash/quick_launch/quick_launch.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/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "mash/public/interfaces/launchable.mojom.h" | 13 #include "mash/public/interfaces/launchable.mojom.h" |
14 #include "services/catalog/public/interfaces/catalog.mojom.h" | 14 #include "services/catalog/public/interfaces/catalog.mojom.h" |
15 #include "services/catalog/public/interfaces/constants.mojom.h" | 15 #include "services/catalog/public/interfaces/constants.mojom.h" |
16 #include "services/service_manager/public/c/main.h" | 16 #include "services/service_manager/public/c/main.h" |
17 #include "services/service_manager/public/cpp/connector.h" | 17 #include "services/service_manager/public/cpp/connector.h" |
18 #include "services/service_manager/public/cpp/interface_registry.h" | |
19 #include "services/service_manager/public/cpp/service.h" | 18 #include "services/service_manager/public/cpp/service.h" |
20 #include "services/service_manager/public/cpp/service_context.h" | 19 #include "services/service_manager/public/cpp/service_context.h" |
21 #include "services/service_manager/public/cpp/service_runner.h" | 20 #include "services/service_manager/public/cpp/service_runner.h" |
22 #include "services/tracing/public/cpp/provider.h" | 21 #include "services/tracing/public/cpp/provider.h" |
23 #include "ui/aura/window.h" | 22 #include "ui/aura/window.h" |
24 #include "ui/aura/window_tree_host.h" | 23 #include "ui/aura/window_tree_host.h" |
25 #include "ui/views/background.h" | 24 #include "ui/views/background.h" |
26 #include "ui/views/controls/textfield/textfield.h" | 25 #include "ui/views/controls/textfield/textfield.h" |
27 #include "ui/views/controls/textfield/textfield_controller.h" | 26 #include "ui/views/controls/textfield/textfield_controller.h" |
28 #include "ui/views/mus/aura_init.h" | 27 #include "ui/views/mus/aura_init.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 windows_.push_back(window); | 205 windows_.push_back(window); |
207 } | 206 } |
208 | 207 |
209 void QuickLaunch::Create(const service_manager::Identity& remote_identity, | 208 void QuickLaunch::Create(const service_manager::Identity& remote_identity, |
210 ::mash::mojom::LaunchableRequest request) { | 209 ::mash::mojom::LaunchableRequest request) { |
211 bindings_.AddBinding(this, std::move(request)); | 210 bindings_.AddBinding(this, std::move(request)); |
212 } | 211 } |
213 | 212 |
214 } // namespace quick_launch | 213 } // namespace quick_launch |
215 } // namespace mash | 214 } // namespace mash |
OLD | NEW |