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

Unified Diff: chrome/browser/android/vr_shell/vr_browser_interface.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_browser_interface.h
diff --git a/chrome/browser/android/vr_shell/vr_browser_interface.h b/chrome/browser/android/vr_shell/vr_browser_interface.h
index 4f128b9f573bfa16a6dd88d096ea459de7ad80d4..772bca84d5c731aa0cb3cbe0b98bd87b312741ed 100644
--- a/chrome/browser/android/vr_shell/vr_browser_interface.h
+++ b/chrome/browser/android/vr_shell/vr_browser_interface.h
@@ -42,6 +42,7 @@ class VrBrowserInterface {
device::mojom::VRDisplayInfoPtr* info) = 0;
virtual void OnContentPaused(bool enabled) = 0;
virtual void NavigateBack() = 0;
+ virtual void ToggleCardboardGamepad(bool enabled) = 0;
};
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698