| 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 8b71dc0289b666053f80d3ee30d8fe4fab5567ca..49d3749a70205780740d7557de5e6029bf73656f 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.h
|
| @@ -24,6 +24,10 @@ class ListValue;
|
| class Thread;
|
| }
|
|
|
| +namespace blink {
|
| +class WebInputEvent;
|
| +}
|
| +
|
| namespace content {
|
| class WebContents;
|
| }
|
| @@ -65,7 +69,9 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
|
| VrShellDelegate* delegate,
|
| gvr_context* gvr_api,
|
| bool reprojected_rendering);
|
| -
|
| + void SwapContents(JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& obj,
|
| + const base::android::JavaParamRef<jobject>& web_contents);
|
| void LoadUIContent(JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& obj);
|
| void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
|
| @@ -136,9 +142,11 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
|
|
|
| void ForceExitVr();
|
|
|
| + void ProcessUIGesture(std::unique_ptr<blink::WebInputEvent> event);
|
| + void ProcessContentGesture(std::unique_ptr<blink::WebInputEvent> event);
|
| +
|
| private:
|
| ~VrShell() override;
|
| - void SetIsInVR(bool is_in_vr);
|
| void PostToGlThreadWhenReady(const base::Closure& task);
|
|
|
| // content::WebContentsObserver implementation. All called on UI thread.
|
|
|