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

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

Issue 2848283003: VR: Refresh controller handedness when resuming the controller. (Closed)
Patch Set: Created 3 years, 8 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/elbow_model.h
diff --git a/chrome/browser/android/vr_shell/elbow_model.h b/chrome/browser/android/vr_shell/elbow_model.h
index afb990ba46a1a1d9a376a310671167f3ee3cc9a9..f8b2357637d52ece975e851e9e983d132a853ea6 100644
--- a/chrome/browser/android/vr_shell/elbow_model.h
+++ b/chrome/browser/android/vr_shell/elbow_model.h
@@ -31,9 +31,9 @@ class ElbowModel {
float GetAlphaValue() const { return alpha_value_; }
void Update(const UpdateData& update);
+ void UpdateHandedness(gvr::ControllerHandedness handedness);
private:
- void UpdateHandedness();
void UpdateTorsoDirection(const UpdateData& update);
void ApplyArmModel(const UpdateData& update);
void UpdateTransparency(const UpdateData& update);
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/elbow_model.cc » ('j') | chrome/browser/android/vr_shell/elbow_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698