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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_gl.h

Issue 2768133003: Ensure VR UI does not miss controller button clicks (Closed)
Patch Set: Created 3 years, 9 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_shell_gl.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h
index 0fc7a5ccf26ab7142aa6919953b4bf690ace355f..7a035eb8b69efa6ff351e3f7ca1e5e02ce9183ea 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -132,6 +132,8 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
void UpdateController();
void HandleControllerInput(const gvr::Vec3f& forward_vector);
+ void HandleControllerAppButtonActivity(
+ const gvr::Vec3f& controller_direction);
void SendEventsToTarget(InputTarget input_target, int pixel_x, int pixel_y);
void SendGesture(InputTarget input_target,
std::unique_ptr<blink::WebInputEvent> event);
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698