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

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

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: 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 unified diff | Download patch
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; 5 module device;
6 6
7 // A field of view, given by 4 degrees describing the view from a center point. 7 // A field of view, given by 4 degrees describing the view from a center point.
8 struct VRFieldOfView { 8 struct VRFieldOfView {
9 float upDegrees; 9 float upDegrees;
10 float downDegrees; 10 float downDegrees;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ExitPresent(uint32 index); 76 ExitPresent(uint32 index);
77 SubmitFrame(uint32 index, VRPose? pose); 77 SubmitFrame(uint32 index, VRPose? pose);
78 UpdateLayerBounds(uint32 index, VRLayerBounds leftBounds, VRLayerBounds rightB ounds); 78 UpdateLayerBounds(uint32 index, VRLayerBounds leftBounds, VRLayerBounds rightB ounds);
79 }; 79 };
80 80
81 interface VRServiceClient { 81 interface VRServiceClient {
82 OnDisplayChanged(VRDisplay display); 82 OnDisplayChanged(VRDisplay display);
83 OnExitPresent(uint32 index); 83 OnExitPresent(uint32 index);
84 OnDisplayConnected(VRDisplay display); 84 OnDisplayConnected(VRDisplay display);
85 OnDisplayDisconnected(uint32 index); 85 OnDisplayDisconnected(uint32 index);
86 OnPausePresent(uint32 index);
87 OnResumePresent(uint32 index);
bajones 2016/11/01 18:11:31 Let's prefer the verbiage defined by the spec here
mthiesse 2016/11/02 14:39:02 Done.
86 }; 88 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698