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

Unified Diff: device/vr/vr_device.h

Issue 2844833005: Tentatively goes into WebVR presentation mode if page listens to vrdisplayactivate. (Closed)
Patch Set: Fixed device unit tests Created 3 years, 8 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
« no previous file with comments | « device/vr/test/fake_vr_display_impl_client.h ('k') | device/vr/vr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_device.h
diff --git a/device/vr/vr_device.h b/device/vr/vr_device.h
index f469ef45c7478ccbf5792ac35f283a0698234227..ff1b898eb1ff692dd7c61f0f9e4b9b956646b83f 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -54,7 +54,8 @@ class DEVICE_VR_EXPORT VRDevice {
virtual void OnExitPresent();
virtual void OnBlur();
virtual void OnFocus();
- virtual void OnActivate(mojom::VRDisplayEventReason reason);
+ virtual void OnActivate(mojom::VRDisplayEventReason reason,
+ const base::Callback<void(bool)>& on_handled);
virtual void OnDeactivate(mojom::VRDisplayEventReason reason);
protected:
« no previous file with comments | « device/vr/test/fake_vr_display_impl_client.h ('k') | device/vr/vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698