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

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

Issue 2879973002: Expose Gamepad API instance for Cardboard button (Closed)
Patch Set: move to a new cardboard gamepad data fetcher Created 3 years, 7 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 17dbec9f84acba6edcf93c9f8d6fdcbfacd4b263..9f85b6908460eb2ffe74f39d34f36981b4f80efb 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -218,6 +218,7 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
std::unique_ptr<VrShellRenderer> vr_shell_renderer_;
+ bool cardboard_ = false;
bool touch_pending_ = false;
vr::Quatf controller_quat_;

Powered by Google App Engine
This is Rietveld 408576698