| Index: ash/common/mojo_interface_factory.cc
|
| diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
|
| index f8bab26711a577dd45cc822ecdf41ca7919cfeaf..22c02c4644f2393d08a6bd76dc4c57f5c12df686 100644
|
| --- a/ash/common/mojo_interface_factory.cc
|
| +++ b/ash/common/mojo_interface_factory.cc
|
| @@ -11,6 +11,7 @@
|
| #include "ash/common/system/locale/locale_notification_controller.h"
|
| #include "ash/common/system/tray/system_tray_controller.h"
|
| #include "ash/common/wallpaper/wallpaper_controller.h"
|
| +#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "base/bind.h"
|
| #include "services/service_manager/public/cpp/interface_registry.h"
|
| @@ -42,6 +43,10 @@ void BindSystemTrayRequestOnMainThread(mojom::SystemTrayRequest request) {
|
| WmShell::Get()->system_tray_controller()->BindRequest(std::move(request));
|
| }
|
|
|
| +void BindTouchViewRequestOnMainThread(mojom::TouchViewManagerRequest request) {
|
| + WmShell::Get()->maximize_mode_controller()->BindRequest(std::move(request));
|
| +}
|
| +
|
| #if defined(OS_CHROMEOS)
|
| void BindVpnListRequestOnMainThread(mojom::VpnListRequest request) {
|
| WmShell::Get()->vpn_list()->BindRequest(std::move(request));
|
| @@ -69,6 +74,8 @@ void RegisterInterfaces(
|
| main_thread_task_runner);
|
| registry->AddInterface(base::Bind(&BindSystemTrayRequestOnMainThread),
|
| main_thread_task_runner);
|
| + registry->AddInterface(base::Bind(&BindTouchViewRequestOnMainThread),
|
| + main_thread_task_runner);
|
| #if defined(OS_CHROMEOS)
|
| registry->AddInterface(base::Bind(&BindVpnListRequestOnMainThread),
|
| main_thread_task_runner);
|
|
|