Index: device/vr/android/gvr/gvr_device_provider.h |
diff --git a/device/vr/android/gvr/gvr_device_provider.h b/device/vr/android/gvr/gvr_device_provider.h |
index f2e9b21af815c445fcef6d89260f530e5d41e5a7..bdf883260a0d21f17102524832dd8db0bae33bfe 100644 |
--- a/device/vr/android/gvr/gvr_device_provider.h |
+++ b/device/vr/android/gvr/gvr_device_provider.h |
@@ -9,6 +9,7 @@ |
#include "base/macros.h" |
#include "device/vr/android/gvr/gvr_delegate.h" |
+#include "device/vr/vr_client_dispatcher.h" |
#include "device/vr/vr_device.h" |
#include "device/vr/vr_device_provider.h" |
@@ -28,7 +29,12 @@ class GvrDeviceProvider : public VRDeviceProvider, public GvrDelegateClient { |
void OnDelegateInitialized(GvrDelegate* delegate) override; |
void OnDelegateShutdown() override; |
+ void PollEvents() override; |
bajones
2016/09/12 01:36:15
This doesn't do anything anymore, so lets leave it
shaobo.yan
2016/09/12 01:59:01
Done.
|
+ |
+ void SetClient(VRClientDispatcher* client) override; |
+ |
private: |
+ std::unique_ptr<VRClientDispatcher> client_; |
std::unique_ptr<VRDevice> vr_device_; |
std::unique_ptr<GvrDeviceProviderDelegate> delegate_; |