OLD | NEW |
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 Loading... |
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 }; |
OLD | NEW |