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

Unified Diff: chrome/browser/android/vr_shell/non_presenting_gvr_delegate.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/non_presenting_gvr_delegate.cc
diff --git a/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc b/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
index c2457ba4176e627bc8351dec29fdc59ff6924d6c..61ffb5b57984764a2e54ac8454968d63001fefc9 100644
--- a/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
+++ b/chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc
@@ -161,13 +161,6 @@ bool NonPresentingGvrDelegate::SupportsPresentation() {
return false;
}
-void NonPresentingGvrDelegate::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 NonPresentingGvrDelegate::CreateVRDisplayInfo(
const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback,
uint32_t device_id) {

Powered by Google App Engine
This is Rietveld 408576698