| Index: ash/common/mojo_interface_factory.cc
|
| diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
|
| index 3cdd6f1e764f48eed2846f6b20e4f75e378c132f..548fb30cf08ac335c78da779489bb368dd2ef16f 100644
|
| --- a/ash/common/mojo_interface_factory.cc
|
| +++ b/ash/common/mojo_interface_factory.cc
|
| @@ -11,6 +11,7 @@
|
| #include "ash/common/new_window_controller.h"
|
| #include "ash/common/session/session_controller.h"
|
| #include "ash/common/shelf/shelf_controller.h"
|
| +#include "ash/common/shell_delegate.h"
|
| #include "ash/common/shutdown_controller.h"
|
| #include "ash/common/system/locale/locale_notification_controller.h"
|
| #include "ash/common/system/tray/system_tray_controller.h"
|
| @@ -19,6 +20,7 @@
|
| #include "ash/common/wm_shell.h"
|
| #include "base/bind.h"
|
| #include "services/service_manager/public/cpp/interface_registry.h"
|
| +#include "ui/app_list/presenter/app_list.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/common/system/chromeos/network/vpn_list.h"
|
| @@ -33,6 +35,10 @@ void BindAcceleratorControllerRequestOnMainThread(
|
| WmShell::Get()->accelerator_controller()->BindRequest(std::move(request));
|
| }
|
|
|
| +void BindAppListRequestOnMainThread(app_list::mojom::AppListRequest request) {
|
| + WmShell::Get()->app_list()->BindRequest(std::move(request));
|
| +}
|
| +
|
| void BindCastConfigOnMainThread(mojom::CastConfigRequest request) {
|
| WmShell::Get()->cast_config()->BindRequest(std::move(request));
|
| }
|
| @@ -91,6 +97,8 @@ void RegisterInterfaces(
|
| registry->AddInterface(
|
| base::Bind(&BindAcceleratorControllerRequestOnMainThread),
|
| main_thread_task_runner);
|
| + registry->AddInterface(base::Bind(&BindAppListRequestOnMainThread),
|
| + main_thread_task_runner);
|
| registry->AddInterface(base::Bind(&BindCastConfigOnMainThread),
|
| main_thread_task_runner);
|
| registry->AddInterface(
|
|
|