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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.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.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell.cc b/chrome/browser/android/vr_shell/vr_shell.cc
index edcbb68f0fe05e2c0f75e96229e281b9e33a5b32..313b247277941639f2861de07e0eb1d4487b7846 100644
--- a/chrome/browser/android/vr_shell/vr_shell.cc
+++ b/chrome/browser/android/vr_shell/vr_shell.cc
@@ -362,11 +362,6 @@ bool VrShell::SupportsPresentation() {
return true;
}
-void VrShell::ResetPose() {
- gl_thread_->task_runner()->PostTask(
- FROM_HERE, base::Bind(&VrShellGl::ResetPose, gl_thread_->GetVrShellGl()));
-}
-
void VrShell::CreateVRDisplayInfo(
const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback,
uint32_t device_id) {
@@ -724,7 +719,6 @@ device::mojom::VRDisplayInfoPtr VrShell::CreateVRDisplayInfo(
device->index = device_id;
device->capabilities = device::mojom::VRDisplayCapabilities::New();
- device->capabilities->hasOrientation = true;
device->capabilities->hasPosition = false;
device->capabilities->hasExternalDisplay = false;
device->capabilities->canPresent = true;

Powered by Google App Engine
This is Rietveld 408576698