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

Unified Diff: device/vr/vr_device.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/android/gvr/gvr_device_provider.cc ('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 7693a66261fcdaa0dfc7635ed624ace070204399..688dd041d42919039e5da12a74b162ee8fa5539c 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -49,10 +49,12 @@ class DEVICE_VR_EXPORT VRDevice {
virtual bool IsAccessAllowed(VRServiceImpl* service);
virtual bool IsPresentingService(VRServiceImpl* service);
- virtual void OnDisplayChanged();
+ virtual void OnChanged();
virtual void OnExitPresent();
- virtual void OnDisplayBlur();
- virtual void OnDisplayFocus();
+ virtual void OnBlur();
+ virtual void OnFocus();
+ virtual void OnActivate(mojom::VRDisplayEventReason reason);
+ virtual void OnDeactivate(mojom::VRDisplayEventReason reason);
protected:
friend class VRDisplayImpl;
« no previous file with comments | « device/vr/android/gvr/gvr_device_provider.cc ('k') | device/vr/vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698