Chromium Code Reviews| 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) { |