Index: chrome/browser/android/vr_shell/vr_shell.h |
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h |
index e9531e769a7fccf78030077b9dfd897e288851b9..f5c76e93937090ddd0f7540554915b8232ee61c9 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell.h |
+++ b/chrome/browser/android/vr_shell/vr_shell.h |
@@ -66,6 +66,7 @@ class VrShell : public device::GvrDelegate { |
void SetUiTextureSize(int width, int height); |
// device::GvrDelegate implementation |
+ void SetWebVRSecureOrigin(bool secure_origin) override; |
void SubmitWebVRFrame() override; |
void UpdateWebVRTextureBounds( |
int eye, float left, float top, float width, float height) override; |
@@ -140,6 +141,7 @@ class VrShell : public device::GvrDelegate { |
int ui_tex_height_ = 0; |
bool webvr_mode_ = false; |
+ bool webvr_secure_origin_; |
bshe
2016/09/29 12:46:47
set default to false?
|
base::WeakPtrFactory<VrShell> weak_ptr_factory_; |