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

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

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: bajones #4: use contextGL(), auto-restore state, add poseNum to VRPosePtr 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..4b9c4690a2c9b6349ecc40f834d913601eee9671 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(const gvr::ControllerButton button) {
return controller_state_.GetButtonDown(button);
}
-bool VrController::IsButtonUp(const int32_t button) {
+bool VrController::IsButtonUp(const gvr::ControllerButton button) {
return controller_state_.GetButtonUp(button);
}

Powered by Google App Engine
This is Rietveld 408576698