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

Unified Diff: device/vr/vr_device_provider.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Address most comments from bajones@ 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/vr_device_provider.h
diff --git a/device/vr/vr_device_provider.h b/device/vr/vr_device_provider.h
index c6896be2eca531b52ad965b7fc72d715408b0ab6..6175b1210cf3c0b552637c4facea356a4d9f2829 100644
--- a/device/vr/vr_device_provider.h
+++ b/device/vr/vr_device_provider.h
@@ -9,6 +9,7 @@
namespace device {
+class VRClientDispatcher;
class VRDevice;
class VRDeviceProvider {
@@ -21,7 +22,7 @@ class VRDeviceProvider {
// If the VR API requires initialization that should happen here.
virtual void Initialize() = 0;
- virtual void PollEvents() {}
+ virtual void PollEvents(VRClientDispatcher* client) {}
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698