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

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

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: fix missing brace 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
« no previous file with comments | « no previous file | device/vr/android/gvr/gvr_device_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4c6c9495f8350d4cd0952a909210a14ab476d6f6 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,10 @@ class GvrDeviceProvider : public VRDeviceProvider, public GvrDelegateClient {
void OnDelegateInitialized(GvrDelegate* delegate) override;
void OnDelegateShutdown() override;
+ void SetClient(VRClientDispatcher* client) override;
+
private:
+ std::unique_ptr<VRClientDispatcher> client_;
std::unique_ptr<VRDevice> vr_device_;
std::unique_ptr<GvrDeviceProviderDelegate> delegate_;
« no previous file with comments | « no previous file | device/vr/android/gvr/gvr_device_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698