| Index: ash/common/mojo_interface_factory.cc
|
| diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
|
| index 22c02c4644f2393d08a6bd76dc4c57f5c12df686..a9108636c802c3a13fad9671119059ccdcb73f88 100644
|
| --- a/ash/common/mojo_interface_factory.cc
|
| +++ b/ash/common/mojo_interface_factory.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <utility>
|
|
|
| +#include "ash/common/accelerators/accelerator_controller.h"
|
| #include "ash/common/shelf/shelf_controller.h"
|
| #include "ash/common/shutdown_controller.h"
|
| #include "ash/common/system/locale/locale_notification_controller.h"
|
| @@ -47,6 +48,10 @@ void BindTouchViewRequestOnMainThread(mojom::TouchViewManagerRequest request) {
|
| WmShell::Get()->maximize_mode_controller()->BindRequest(std::move(request));
|
| }
|
|
|
| +void BindVolumeRequestOnMainThread(mojom::VolumeRequest request) {
|
| + WmShell::Get()->accelerator_controller()->BindRequest(std::move(request));
|
| +}
|
| +
|
| #if defined(OS_CHROMEOS)
|
| void BindVpnListRequestOnMainThread(mojom::VpnListRequest request) {
|
| WmShell::Get()->vpn_list()->BindRequest(std::move(request));
|
| @@ -76,6 +81,8 @@ void RegisterInterfaces(
|
| main_thread_task_runner);
|
| registry->AddInterface(base::Bind(&BindTouchViewRequestOnMainThread),
|
| main_thread_task_runner);
|
| + registry->AddInterface(base::Bind(&BindVolumeRequestOnMainThread),
|
| + main_thread_task_runner);
|
| #if defined(OS_CHROMEOS)
|
| registry->AddInterface(base::Bind(&BindVpnListRequestOnMainThread),
|
| main_thread_task_runner);
|
|
|