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

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

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (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 unified diff | Download patch
« no previous file with comments | « device/vr/vr_device_manager_unittest.cc ('k') | device/vr/vr_service_impl_unittest.cc » ('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 // fou nd in the LICENSE file. 2 // Use of this source code is governed by a BSD-style license that can be // fou nd in the LICENSE file.
3 3
4 module device.mojom; 4 module device.mojom;
5 5
6 // A field of view, given by 4 degrees describing the view from a center point. 6 // A field of view, given by 4 degrees describing the view from a center point.
7 struct VRFieldOfView { 7 struct VRFieldOfView {
8 float upDegrees; 8 float upDegrees;
9 float downDegrees; 9 float downDegrees;
10 float leftDegrees; 10 float leftDegrees;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 RequestPresent(bool secureOrigin) => (bool success); 83 RequestPresent(bool secureOrigin) => (bool success);
84 ExitPresent(); 84 ExitPresent();
85 SubmitFrame(VRPose? pose); 85 SubmitFrame(VRPose? pose);
86 UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds); 86 UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds);
87 }; 87 };
88 88
89 interface VRDisplayClient { 89 interface VRDisplayClient {
90 OnDisplayChanged(VRDisplayInfo display); 90 OnDisplayChanged(VRDisplayInfo display);
91 OnExitPresent(); 91 OnExitPresent();
92 OnDisplayBlur();
93 OnDisplayFocus();
92 }; 94 };
OLDNEW
« no previous file with comments | « device/vr/vr_device_manager_unittest.cc ('k') | device/vr/vr_service_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698