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_application.h" | 5 #include "mash/quick_launch/quick_launch_application.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "mash/public/interfaces/launchable.mojom.h" | 12 #include "mash/public/interfaces/launchable.mojom.h" |
13 #include "mojo/public/c/system/main.h" | 13 #include "mojo/public/c/system/main.h" |
14 #include "services/catalog/public/interfaces/catalog.mojom.h" | 14 #include "services/catalog/public/interfaces/catalog.mojom.h" |
15 #include "services/shell/public/cpp/application_runner.h" | |
16 #include "services/shell/public/cpp/connector.h" | 15 #include "services/shell/public/cpp/connector.h" |
17 #include "services/shell/public/cpp/service.h" | 16 #include "services/shell/public/cpp/service.h" |
| 17 #include "services/shell/public/cpp/service_runner.h" |
18 #include "services/tracing/public/cpp/tracing_impl.h" | 18 #include "services/tracing/public/cpp/tracing_impl.h" |
19 #include "ui/views/background.h" | 19 #include "ui/views/background.h" |
20 #include "ui/views/controls/textfield/textfield.h" | 20 #include "ui/views/controls/textfield/textfield.h" |
21 #include "ui/views/controls/textfield/textfield_controller.h" | 21 #include "ui/views/controls/textfield/textfield_controller.h" |
22 #include "ui/views/mus/aura_init.h" | 22 #include "ui/views/mus/aura_init.h" |
23 #include "ui/views/mus/window_manager_connection.h" | 23 #include "ui/views/mus/window_manager_connection.h" |
24 #include "ui/views/widget/widget_delegate.h" | 24 #include "ui/views/widget/widget_delegate.h" |
25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
26 | 26 |
27 namespace views { | 27 namespace views { |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 windows_.push_back(window); | 198 windows_.push_back(window); |
199 } | 199 } |
200 | 200 |
201 void QuickLaunchApplication::Create(shell::Connection* connection, | 201 void QuickLaunchApplication::Create(shell::Connection* connection, |
202 mojom::LaunchableRequest request) { | 202 mojom::LaunchableRequest request) { |
203 bindings_.AddBinding(this, std::move(request)); | 203 bindings_.AddBinding(this, std::move(request)); |
204 } | 204 } |
205 | 205 |
206 } // namespace quick_launch | 206 } // namespace quick_launch |
207 } // namespace mash | 207 } // namespace mash |
OLD | NEW |