OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ash/mus/window_manager_application.h" | 5 #include "ash/mus/window_manager_application.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/mojo_interface_factory.h" | 9 #include "ash/mojo_interface_factory.h" |
10 #include "ash/mus/network_connect_delegate_mus.h" | 10 #include "ash/mus/network_connect_delegate_mus.h" |
11 #include "ash/mus/window_manager.h" | 11 #include "ash/mus/window_manager.h" |
12 #include "ash/public/cpp/config.h" | 12 #include "ash/public/cpp/config.h" |
13 #include "ash/system/power/power_status.h" | 13 #include "ash/system/power/power_status.h" |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
17 #include "base/threading/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
18 #include "chromeos/audio/cras_audio_handler.h" | 18 #include "chromeos/audio/cras_audio_handler.h" |
19 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" |
20 #include "chromeos/network/network_connect.h" | 20 #include "chromeos/network/network_connect.h" |
21 #include "chromeos/network/network_handler.h" | 21 #include "chromeos/network/network_handler.h" |
22 #include "chromeos/system/fake_statistics_provider.h" | 22 #include "chromeos/system/fake_statistics_provider.h" |
23 #include "device/bluetooth/bluetooth_adapter_factory.h" | 23 #include "device/bluetooth/bluetooth_adapter_factory.h" |
24 #include "device/bluetooth/dbus/bluez_dbus_manager.h" | 24 #include "device/bluetooth/dbus/bluez_dbus_manager.h" |
25 #include "services/service_manager/public/cpp/connection.h" | |
26 #include "services/service_manager/public/cpp/connector.h" | 25 #include "services/service_manager/public/cpp/connector.h" |
27 #include "services/service_manager/public/cpp/service_context.h" | 26 #include "services/service_manager/public/cpp/service_context.h" |
28 #include "services/tracing/public/cpp/provider.h" | 27 #include "services/tracing/public/cpp/provider.h" |
29 #include "services/ui/common/accelerator_util.h" | 28 #include "services/ui/common/accelerator_util.h" |
30 #include "ui/aura/env.h" | 29 #include "ui/aura/env.h" |
31 #include "ui/aura/mus/window_tree_client.h" | 30 #include "ui/aura/mus/window_tree_client.h" |
32 #include "ui/events/event.h" | 31 #include "ui/events/event.h" |
33 #include "ui/message_center/message_center.h" | 32 #include "ui/message_center/message_center.h" |
34 #include "ui/views/mus/aura_init.h" | 33 #include "ui/views/mus/aura_init.h" |
35 | 34 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void WindowManagerApplication::OnBindInterface( | 139 void WindowManagerApplication::OnBindInterface( |
141 const service_manager::ServiceInfo& source_info, | 140 const service_manager::ServiceInfo& source_info, |
142 const std::string& interface_name, | 141 const std::string& interface_name, |
143 mojo::ScopedMessagePipeHandle interface_pipe) { | 142 mojo::ScopedMessagePipeHandle interface_pipe) { |
144 registry_.BindInterface(source_info.identity, interface_name, | 143 registry_.BindInterface(source_info.identity, interface_name, |
145 std::move(interface_pipe)); | 144 std::move(interface_pipe)); |
146 } | 145 } |
147 | 146 |
148 } // namespace mus | 147 } // namespace mus |
149 } // namespace ash | 148 } // namespace ash |
OLD | NEW |