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

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

Issue 2505493004: Wired up vrdisplayactivate/deactivate (Closed)
Patch Set: Again with the upstream issues 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/vr_service.mojom ('k') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/vr/NavigatorVR.h
diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.h b/third_party/WebKit/Source/modules/vr/NavigatorVR.h
index c38ca6654a9864bc3be1f38a799cd29441b02635..0c1b3926abeec504ea9bfed4b347898195933cf3 100644
--- a/third_party/WebKit/Source/modules/vr/NavigatorVR.h
+++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.h
@@ -39,9 +39,11 @@ class MODULES_EXPORT NavigatorVR final
VRController* controller();
Document* document();
- void fireVrDisplayOnBlur(VRDisplay*);
- void fireVrDisplayOnFocus(VRDisplay*);
- void fireVREvent(VRDisplayEvent*);
+ // Queues up event to be fired soon.
+ void enqueueVREvent(VRDisplayEvent*);
+
+ // Dispatches a user gesture event immediately.
+ void dispatchVRGestureEvent(VRDisplayEvent*);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « device/vr/vr_service.mojom ('k') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698