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

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

Issue 2363553003: VrShell: implement insecure content warning display (Closed)
Patch Set: Address Dan's review comments 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
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 f5c76e93937090ddd0f7540554915b8232ee61c9..d24a1b68173b2f711076aa4734c9388d2b411eef 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -93,6 +93,10 @@ class VrShell : public device::GvrDelegate {
const gvr::BufferViewport& params);
void DrawContentRect();
void DrawWebVr();
+ void DrawWebVrOverlay(int64_t present_time_nanos);
+ void DrawWebVrEye(const gvr::Mat4f& view_matrix,
+ const gvr::BufferViewport& params,
+ int64_t present_time_nanos);
void DrawUI();
void DrawCursor();
@@ -141,7 +145,8 @@ class VrShell : public device::GvrDelegate {
int ui_tex_height_ = 0;
bool webvr_mode_ = false;
- bool webvr_secure_origin_;
+ bool webvr_secure_origin_ = false;
+ int64_t webvr_warning_end_nanos_ = 0;
base::WeakPtrFactory<VrShell> weak_ptr_factory_;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | chrome/browser/android/vr_shell/vr_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698