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

Unified Diff: device/vr/vr_service_impl.cc

Issue 2361533003: Expose secure origin state to WebVR renderer (Closed)
Patch Set: Rebase Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vr/vr_service_impl.h ('k') | third_party/WebKit/Source/modules/vr/VRController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_service_impl.cc
diff --git a/device/vr/vr_service_impl.cc b/device/vr/vr_service_impl.cc
index dfcc9d387ab599f876c018827180e692cb23693c..6ea486de284d4d5e0e37bb7a7a36adb172b41a6b 100644
--- a/device/vr/vr_service_impl.cc
+++ b/device/vr/vr_service_impl.cc
@@ -64,9 +64,10 @@ void VRServiceImpl::ResetPose(uint32_t index) {
}
void VRServiceImpl::RequestPresent(uint32_t index,
+ bool secureOrigin,
const RequestPresentCallback& callback) {
VRDeviceManager* device_manager = VRDeviceManager::GetInstance();
- callback.Run(device_manager->RequestPresent(this, index));
+ callback.Run(device_manager->RequestPresent(this, index, secureOrigin));
}
void VRServiceImpl::ExitPresent(uint32_t index) {
« no previous file with comments | « device/vr/vr_service_impl.h ('k') | third_party/WebKit/Source/modules/vr/VRController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698