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

Unified Diff: third_party/WebKit/Source/modules/vr/VRController.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: 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 c616a6c4e98d15cc3da0a79dc7b1932cd222cae8..157d204c76f43d29bacbcc9d23f6065c14e08900 100644
--- a/third_party/WebKit/Source/modules/vr/VRController.h
+++ b/third_party/WebKit/Source/modules/vr/VRController.h
@@ -53,6 +53,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