Index: chrome/browser/android/vr_shell/vr_shell.h |
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h |
index a8387a5cf36608519f87c26c91af0d4b72eb15fe..bf3a72b18334a7b88adfb97ce9f6b600ce199787 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell.h |
+++ b/chrome/browser/android/vr_shell/vr_shell.h |
@@ -63,7 +63,8 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver { |
ui::WindowAndroid* ui_window, |
bool for_web_vr, |
VrShellDelegate* delegate, |
- gvr_context* gvr_api); |
+ gvr_context* gvr_api, |
+ bool reprojected_rendering); |
void LoadUIContent(JNIEnv* env, |
const base::android::JavaParamRef<jobject>& obj); |
@@ -74,6 +75,9 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver { |
const base::android::JavaParamRef<jobject>& obj); |
void OnResume(JNIEnv* env, |
const base::android::JavaParamRef<jobject>& obj); |
+ void SetSurface(JNIEnv* env, |
+ const base::android::JavaParamRef<jobject>& obj, |
+ const base::android::JavaParamRef<jobject>& surface); |
void SetWebVrMode(JNIEnv* env, |
const base::android::JavaParamRef<jobject>& obj, |
bool enabled); |
@@ -158,6 +162,7 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver { |
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
std::unique_ptr<base::Thread> gl_thread_; |
+ bool reprojected_rendering_; |
base::WeakPtrFactory<VrShell> weak_ptr_factory_; |