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

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

Issue 2851313002: Adds end-to-end tests for VrShell navigation transitions. (Closed)
Patch Set: Incorporated review feedback 2 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/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 1917ddbef19bccb8195c63e9dc0a1d1bd400e840..48486a7ec0126eab09363e8af13ba6f5cdf78335 100644
--- a/chrome/browser/android/vr_shell/vr_shell.cc
+++ b/chrome/browser/android/vr_shell/vr_shell.cc
@@ -276,6 +276,11 @@ void VrShell::SetWebVrMode(JNIEnv* env,
gl_thread_->GetSceneManager(), enabled));
}
+bool VrShell::GetWebVrMode(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj) {
mthiesse 2017/05/02 14:52:13 nit: const JavaParamRef
tiborg 2017/05/03 19:43:58 Done. Also removed namespace at other instances of
+ return webvr_mode_;
+}
+
void VrShell::OnLoadProgressChanged(JNIEnv* env,
const JavaParamRef<jobject>& obj,
double progress) {

Powered by Google App Engine
This is Rietveld 408576698