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

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

Issue 2950233002: Validate untrusted VR mojo inputs into browser process (Closed)
Patch Set: make validation less strict, and fix a bug found with validation Created 3 years, 6 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_gl.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h
index 7b07d5d4be2754428bf3393ea1d8a5ad6c60f9b8..6406346ec6b541c648555f76e3252e7bdcc1f994 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -24,6 +24,7 @@
#include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
#include "ui/gfx/geometry/quaternion.h"
#include "ui/gfx/geometry/rect_f.h"
+#include "ui/gfx/geometry/size_f.h"
#include "ui/gfx/native_widget_types.h"
namespace blink {
@@ -258,7 +259,7 @@ class VrShellGl : public device::mojom::VRPresentationProvider {
std::vector<base::TimeTicks> webvr_time_pose_;
std::vector<base::TimeTicks> webvr_time_js_submit_;
-
+ std::vector<bool> webvr_frame_oustanding_;
std::vector<gfx::Transform> webvr_head_pose_;
bool web_vr_mode_;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698