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

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

Issue 2762003002: Refactor GVR controller gamepad API integration (Closed)
Patch Set: Rebase, no changes 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 643ba1d046fbf94a63dccceadcfeb34c18f4d632..0fc7a5ccf26ab7142aa6919953b4bf690ace355f 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -130,7 +130,8 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
void DrawWebVr();
bool WebVrPoseByteIsValid(int pose_index_byte);
- void UpdateController(const gvr::Vec3f& forward_vector);
+ void UpdateController();
+ void HandleControllerInput(const gvr::Vec3f& forward_vector);
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 | « chrome/browser/android/vr_shell/vr_shell_delegate.cc ('k') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698