| Index: device/vr/vr_service_impl.h
|
| diff --git a/device/vr/vr_service_impl.h b/device/vr/vr_service_impl.h
|
| index 778dc518ae6a2842f8fa48b789c40ac87fdeae3d..091c81d6b01e4d9686bd2b67dff379fc256c5ca3 100644
|
| --- a/device/vr/vr_service_impl.h
|
| +++ b/device/vr/vr_service_impl.h
|
| @@ -28,6 +28,8 @@ class VRServiceImpl : public mojom::VRService {
|
|
|
| VRDisplayImpl* GetVRDisplayImpl(VRDevice* device);
|
|
|
| + bool listening_for_activate() { return listening_for_activate_; }
|
| +
|
| private:
|
| friend class VRServiceTestBinding;
|
| friend class VRDeviceManagerTest;
|
| @@ -43,12 +45,15 @@ class VRServiceImpl : public mojom::VRService {
|
| // mojom::VRService implementation
|
| void SetClient(mojom::VRServiceClientPtr service_client,
|
| const SetClientCallback& callback) override;
|
| + void SetListeningForActivate(bool listening) override;
|
|
|
| using DisplayImplMap = std::map<VRDevice*, std::unique_ptr<VRDisplayImpl>>;
|
| DisplayImplMap displays_;
|
|
|
| mojom::VRServiceClientPtr client_;
|
|
|
| + bool listening_for_activate_;
|
| +
|
| std::unique_ptr<mojo::Binding<mojom::VRService>> binding_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(VRServiceImpl);
|
|
|