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 0bcf10f6816befb5afa37c22ab11aa202c74688d..a58a36322a759e19df1e01b962af38b6e7e2aa66 100644 |
--- a/chrome/browser/android/vr_shell/vr_controller.cc |
+++ b/chrome/browser/android/vr_shell/vr_controller.cc |
@@ -149,6 +149,10 @@ bool VrController::ButtonUpHappened(gvr::ControllerButton button) { |
return controller_state_->GetButtonUp(button); |
} |
+bool VrController::ButtonState(gvr::ControllerButton button) { |
+ return controller_state_->GetButtonState(button); |
+} |
+ |
bool VrController::IsConnected() { |
return controller_state_->GetConnectionState() == gvr::kControllerConnected; |
} |