| 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 a95676ea6ce6316c07baf9a73a2cf074ca4cf434..dd530fc2e6fdf1f00a714735d3d8121c6a7fff1d 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/single_thread_task_runner.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "device/vr/android/gvr/gvr_delegate.h"
|
| +#include "device/vr/vr_service.mojom.h"
|
| #include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr.h"
|
| #include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
|
|
|
| @@ -81,6 +82,9 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
|
| void SetWebVrMode(JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& obj,
|
| bool enabled);
|
| + void UpdateVSyncInterval(JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& obj,
|
| + jlong timebase_nanos, jdouble interval_seconds);
|
|
|
| void ContentWebContentsDestroyed();
|
| // Called when our WebContents have been hidden. Usually a sign that something
|
| @@ -103,7 +107,6 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
|
| void UpdateWebVRTextureBounds(const gvr::Rectf& left_bounds,
|
| const gvr::Rectf& right_bounds) override;
|
| gvr::GvrApi* gvr_api() override;
|
| - void SetGvrPoseForWebVr(const gvr::Mat4f& pose, uint32_t pose_num) override;
|
| void SetWebVRRenderSurfaceSize(int width, int height) override;
|
| gvr::Sizei GetWebVRCompositorSurfaceSize() override;
|
|
|
| @@ -133,6 +136,10 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
|
|
|
| void ForceExitVr();
|
|
|
| + void OnVRVsyncProviderReady();
|
| + void OnVRVSyncProviderClientConnected(
|
| + device::mojom::VRVSyncProviderClientPtr client);
|
| +
|
| private:
|
| ~VrShell() override;
|
| void SetShowingOverscrollGlow(bool showing_glow);
|
|
|