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

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

Issue 2776243007: Enable WebVR presentation from Chrome Custom Tab (Closed)
Patch Set: rebase + address nit 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/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrUtils.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrUtils.java b/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrUtils.java
index 323c312f02ae60790a144a81cfbd17af7ec12af9..e16076eb898dfad009c338a980925dbc38c3a1bd 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrUtils.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrUtils.java
@@ -54,7 +54,7 @@ public class VrUtils {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
- VrShellDelegate.enterVRIfNecessary();
+ VrShellDelegate.enterVrIfNecessary();
}
});
}
@@ -67,7 +67,7 @@ public class VrUtils {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
- vrDelegate.shutdownVR(false /* isPausing */, false /* showTransition */);
+ vrDelegate.shutdownVr(false /* isPausing */, false /* showTransition */);
}
});
}
@@ -121,7 +121,7 @@ public class VrUtils {
CriteriaHelper.pollUiThread(Criteria.equals(true, new Callable<Boolean>() {
@Override
public Boolean call() {
- return VrShellDelegate.isInVR();
+ return VrShellDelegate.isInVr();
}
}), timeout, POLL_CHECK_INTERVAL_SHORT_MS);
}

Powered by Google App Engine
This is Rietveld 408576698