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

Unified Diff: device/vr/vr_service.mojom

Issue 2510993002: Notify VRDeviceProviders when there are pages listening for vrdisplayactivate (Closed)
Patch Set: Rebase 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_device_provider.h ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_service.mojom
diff --git a/device/vr/vr_service.mojom b/device/vr/vr_service.mojom
index dc904dfde36d630c41c4d320dce20af1c3e2e46e..d41b1a9ed09da0fe5157c51d9de5af058d4e1a0d 100644
--- a/device/vr/vr_service.mojom
+++ b/device/vr/vr_service.mojom
@@ -75,6 +75,8 @@ interface VRService {
// TODO(shaobo.yan@intel.com) : Use a factory function which took a VRServiceClient
// so we would never have a half-initialized VRService.
SetClient(VRServiceClient client) => (uint32 numberOfConnectedDevices);
+ // Inform the service that the page is listening for vrdisplayactivate events.
+ SetListeningForActivate(bool listening);
};
interface VRServiceClient {
« no previous file with comments | « device/vr/vr_device_provider.h ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698