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

Unified Diff: device/vr/android/gvr/gvr_device.h

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/android/gvr/gvr_delegate.h ('k') | device/vr/android/gvr/gvr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index a13c0696934c43572e0fa4dd700960cb7f8fd742..2dafc76aae03087ff824b92852595994a51b1750 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -27,7 +27,7 @@ class GvrDevice : public VRDevice {
VRPosePtr GetPose() override;
void ResetPose() override;
- bool RequestPresent() override;
+ bool RequestPresent(bool secure_origin) override;
void ExitPresent() override;
void SubmitFrame(VRPosePtr pose) override;
@@ -41,6 +41,7 @@ class GvrDevice : public VRDevice {
GvrDelegate* delegate_;
GvrDeviceProvider* gvr_provider_;
+ bool secure_origin_;
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};
« no previous file with comments | « device/vr/android/gvr/gvr_delegate.h ('k') | device/vr/android/gvr/gvr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698