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

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

Issue 2396663002: Reland gvr upgrade (Closed)
Patch Set: Created 4 years, 2 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_controller.cc
diff --git a/chrome/browser/android/vr_shell/vr_controller.cc b/chrome/browser/android/vr_shell/vr_controller.cc
index 33cdbe93c85ee05ebc61a3c710aa71e6a1d768bf..aec39c83471261d53c3c6806841a6c7f0aa915b8 100644
--- a/chrome/browser/android/vr_shell/vr_controller.cc
+++ b/chrome/browser/android/vr_shell/vr_controller.cc
@@ -97,11 +97,11 @@ bool VrController::IsTouchUp() {
return controller_state_.GetTouchUp();
}
-bool VrController::IsButtonDown(const int32_t button) {
+bool VrController::IsButtonDown(gvr::ControllerButton button) {
return controller_state_.GetButtonDown(button);
}
-bool VrController::IsButtonUp(const int32_t button) {
+bool VrController::IsButtonUp(gvr::ControllerButton button) {
return controller_state_.GetButtonUp(button);
}

Powered by Google App Engine
This is Rietveld 408576698