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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2430543002: Draw WebVR security overlay with a non-reprojected viewport (Closed)
Patch Set: Rebase, Overlay->Headlocked Created 4 years, 2 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 | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a1795da49479785615db14724fba575728e6ce4b..b375403914b447e84de0f1a2d9a596e93c9c7d2d 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -150,6 +150,8 @@ class VrShell : public device::GvrDelegate {
std::unique_ptr<gvr::GvrApi> gvr_api_;
std::unique_ptr<gvr::BufferViewportList> buffer_viewport_list_;
std::unique_ptr<gvr::BufferViewport> buffer_viewport_;
+ std::unique_ptr<gvr::BufferViewport> headlocked_left_viewport_;
+ std::unique_ptr<gvr::BufferViewport> headlocked_right_viewport_;
std::unique_ptr<gvr::SwapChain> swap_chain_;
gvr::Sizei render_size_;
@@ -174,6 +176,7 @@ class VrShell : public device::GvrDelegate {
VrInputManager* current_input_target_ = nullptr;
int ui_tex_width_ = 0;
int ui_tex_height_ = 0;
+ bool dom_contents_loaded_ = false;
bool webvr_mode_ = false;
bool webvr_secure_origin_ = false;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698