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 "base/macros.h" | 5 #include "base/macros.h" |
6 #include "base/strings/string_util.h" | 6 #include "base/strings/string_util.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "mojo/application/public/cpp/application_delegate.h" | |
9 #include "mojo/application/public/cpp/application_impl.h" | |
10 #include "mojo/application/public/cpp/application_runner.h" | |
11 #include "mojo/public/c/system/main.h" | 8 #include "mojo/public/c/system/main.h" |
12 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 9 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
| 10 #include "mojo/shell/public/cpp/application_delegate.h" |
| 11 #include "mojo/shell/public/cpp/application_impl.h" |
| 12 #include "mojo/shell/public/cpp/application_runner.h" |
13 #include "ui/views/background.h" | 13 #include "ui/views/background.h" |
14 #include "ui/views/controls/textfield/textfield.h" | 14 #include "ui/views/controls/textfield/textfield.h" |
15 #include "ui/views/controls/textfield/textfield_controller.h" | 15 #include "ui/views/controls/textfield/textfield_controller.h" |
16 #include "ui/views/mus/aura_init.h" | 16 #include "ui/views/mus/aura_init.h" |
17 #include "ui/views/mus/window_manager_connection.h" | 17 #include "ui/views/mus/window_manager_connection.h" |
18 #include "ui/views/widget/widget_delegate.h" | 18 #include "ui/views/widget/widget_delegate.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 class AuraInit; | 22 class AuraInit; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 }; | 109 }; |
110 | 110 |
111 } // namespace quick_launch | 111 } // namespace quick_launch |
112 } // namespace mash | 112 } // namespace mash |
113 | 113 |
114 MojoResult MojoMain(MojoHandle shell_handle) { | 114 MojoResult MojoMain(MojoHandle shell_handle) { |
115 mojo::ApplicationRunner runner( | 115 mojo::ApplicationRunner runner( |
116 new mash::quick_launch::QuickLaunchApplicationDelegate); | 116 new mash::quick_launch::QuickLaunchApplicationDelegate); |
117 return runner.Run(shell_handle); | 117 return runner.Run(shell_handle); |
118 } | 118 } |
OLD | NEW |