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

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

Issue 2777903008: Removed deprecated WebVR functionality (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.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.cc b/chrome/browser/android/vr_shell/vr_shell_gl.cc
index c3b906768d2fd7e09fea01670323b19e788e14ad..161aa2b1b5bc8ec209335301cd0064f68f3526f7 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.cc
@@ -1277,13 +1277,6 @@ void VrShellGl::SendVSync(base::TimeDelta time,
device::mojom::VRVSyncProvider::Status::SUCCESS);
}
-void VrShellGl::ResetPose() {
- // Should never call RecenterTracking when using with Daydream viewers. On
- // those devices recentering should only be done via the controller.
- if (gvr_api_ && gvr_api_->GetViewerType() == GVR_VIEWER_TYPE_CARDBOARD)
- gvr_api_->RecenterTracking();
-}
-
void VrShellGl::CreateVRDisplayInfo(
const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback,
uint32_t device_id) {

Powered by Google App Engine
This is Rietveld 408576698