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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc

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/ui_scene_manager_unittest.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc b/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc
index 30b943a91f017a86af1a3057300d04eb95a20485..dddb9dd71eb70adbc2eb908a50fcda2b6cbbb4ae 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc
@@ -36,6 +36,7 @@ class MockBrowserInterface : public VrBrowserInterface {
device::mojom::VRDisplayInfoPtr*));
MOCK_METHOD1(OnContentPaused, void(bool));
MOCK_METHOD0(NavigateBack, void());
+ MOCK_METHOD1(ToggleCardboardGamepad, void(bool));
// Stub this as scoped pointers don't work as mock method parameters.
void ProcessContentGesture(std::unique_ptr<blink::WebInputEvent>) {}

Powered by Google App Engine
This is Rietveld 408576698