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

Unified Diff: third_party/WebKit/Source/modules/vr/VRController.h

Issue 2317483002: Add support of vrdisplayconnect and vrdisplaydisconnect event (Closed)
Patch Set: Fix typo of Event reason 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: third_party/WebKit/Source/modules/vr/VRController.h
diff --git a/third_party/WebKit/Source/modules/vr/VRController.h b/third_party/WebKit/Source/modules/vr/VRController.h
index 04e1e0e25df3b151a77da22617f520e2b421cc56..cbc28ed7ac8572627a667ca8803777e1d2140c7f 100644
--- a/third_party/WebKit/Source/modules/vr/VRController.h
+++ b/third_party/WebKit/Source/modules/vr/VRController.h
@@ -47,6 +47,8 @@ private:
// VRServiceClient.
void OnDisplayChanged(device::blink::VRDisplayPtr) override;
+ void OnDisplayConnected(device::blink::VRDisplayPtr) override;
+ void OnDisplayDisconnected(unsigned) override;
// ContextLifecycleObserver.
void contextDestroyed() override;

Powered by Google App Engine
This is Rietveld 408576698