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

Unified Diff: chrome/browser/android/vr_shell/vr_gl_thread.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_gl_thread.h
diff --git a/chrome/browser/android/vr_shell/vr_gl_thread.h b/chrome/browser/android/vr_shell/vr_gl_thread.h
index 09c23fa0f17aa802360dcd94956b535f13afb210..7ae24c43c520c46e204e40a76a9ab2f07a803ec3 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.h
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.h
@@ -57,6 +57,7 @@ class VrGLThread : public base::Thread,
device::mojom::VRDisplayInfoPtr* info) override;
void OnContentPaused(bool enabled) override;
void NavigateBack() override;
+ void ToggleCardboardGamepad(bool enabled) override;
// UiInterface implementation (VrShell calling to the UI).
void SetFullscreen(bool enabled) override;

Powered by Google App Engine
This is Rietveld 408576698