| Index: third_party/WebKit/Source/modules/vr/VRController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| index 264e861be524b4e90563889089ec57b328273498..1b60be23498139951a0436ac4773af8df5ef63d5 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -52,6 +52,11 @@ void VRController::getDisplays(ScriptPromiseResolver* resolver) {
|
| makeUnique<VRGetDevicesCallback>(resolver));
|
| }
|
|
|
| +void VRController::setListeningForActivate(bool listening) {
|
| + if (m_service)
|
| + m_service->SetListeningForActivate(listening);
|
| +}
|
| +
|
| // Each time a new VRDisplay is connected we'll recieve a VRDisplayPtr for it
|
| // here. Upon calling SetClient in the constructor we should receive one call
|
| // for each VRDisplay that was already connected at the time.
|
|
|