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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: oops Created 3 years, 11 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/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
index 4a47640d960588a966a3639a98b17dccff42edb8..c70bea449f7ab984e751378a42791be1b4309437 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
@@ -24,19 +24,6 @@ public class NonPresentingGvrContextImpl implements NonPresentingGvrContext {
}
@Override
- public void resume() {
- mGvrLayout.getGvrApi().resumeTracking();
- }
-
- @Override
- public void pause() {
- // We can't pause/resume the GvrLayout, because doing so will force us to enter VR. However,
- // we should be safe not pausing it as we never add it to the view hierarchy, or give it a
- // presentation view, so there's nothing to pause but the tracking.
- mGvrLayout.getGvrApi().pauseTracking();
- }
-
- @Override
public void shutdown() {
mGvrLayout.shutdown();
}

Powered by Google App Engine
This is Rietveld 408576698