Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: device/vr/android/gvr/gvr_device_provider.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Clean some style issue according to mthiesse@ Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698