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

Unified Diff: device/vr/vr_client_dispatcher.h

Issue 2488273002: Revert of mojo VR interface simplified (Closed)
Patch Set: Created 4 years, 1 month 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 | « device/vr/test/fake_vr_device.cc ('k') | device/vr/vr_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_client_dispatcher.h
diff --git a/device/vr/vr_client_dispatcher.h b/device/vr/vr_client_dispatcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..fc815254e0079899e2da25ddd58822adf80aadce
--- /dev/null
+++ b/device/vr/vr_client_dispatcher.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DEVICE_VR_VR_CLIENT_DISPATCHER_H
+#define DEVICE_VR_VR_CLIENT_DISPATCHER_H
+
+#include "device/vr/vr_service.mojom.h"
+
+namespace device {
+
+class VRDevice;
+
+class VRClientDispatcher {
+ public:
+ virtual void OnDeviceChanged(VRDisplayPtr device) = 0;
+ virtual void OnDeviceConnectionStatusChanged(VRDevice* device,
+ bool is_connected) = 0;
+ virtual void OnPresentEnded(VRDevice* device) = 0;
+};
+
+} // namespace device
+
+#endif // DEVICE_VR_VR_CLIENT_DISPATCHER_H
« no previous file with comments | « device/vr/test/fake_vr_device.cc ('k') | device/vr/vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698