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

Side by Side Diff: device/vr/vr_service.mojom

Issue 2844833005: Tentatively goes into WebVR presentation mode if page listens to vrdisplayactivate. (Closed)
Patch Set: Fixed device unit tests Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « device/vr/vr_display_impl.cc ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module device.mojom; 5 module device.mojom;
6 6
7 import "mojo/common/time.mojom"; 7 import "mojo/common/time.mojom";
8 import "gpu/ipc/common/mailbox_holder.mojom"; 8 import "gpu/ipc/common/mailbox_holder.mojom";
9 import "gpu/ipc/common/sync_token.mojom"; 9 import "gpu/ipc/common/sync_token.mojom";
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // no mapping. 108 // no mapping.
109 GetVSync() => (VRPose? pose, mojo.common.mojom.TimeDelta time, int16 frameId, 109 GetVSync() => (VRPose? pose, mojo.common.mojom.TimeDelta time, int16 frameId,
110 Status status); 110 Status status);
111 }; 111 };
112 112
113 interface VRDisplayClient { 113 interface VRDisplayClient {
114 OnChanged(VRDisplayInfo display); 114 OnChanged(VRDisplayInfo display);
115 OnExitPresent(); 115 OnExitPresent();
116 OnBlur(); 116 OnBlur();
117 OnFocus(); 117 OnFocus();
118 OnActivate(VRDisplayEventReason reason); 118 OnActivate(VRDisplayEventReason reason) => (bool presentRequested);
119 OnDeactivate(VRDisplayEventReason reason); 119 OnDeactivate(VRDisplayEventReason reason);
120 }; 120 };
OLDNEW
« no previous file with comments | « device/vr/vr_display_impl.cc ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698