Index: device/vr/android/gvr/gvr_delegate.h |
diff --git a/device/vr/android/gvr/gvr_delegate.h b/device/vr/android/gvr/gvr_delegate.h |
index d9d9cf738012a7b085e692a382ea4991228ff054..18be9b88e594d98785ef0a4fc1514cc1709b5bc2 100644 |
--- a/device/vr/android/gvr/gvr_delegate.h |
+++ b/device/vr/android/gvr/gvr_delegate.h |
@@ -7,6 +7,7 @@ |
#include "device/vr/android/gvr/gvr_device_provider.h" |
#include "device/vr/vr_export.h" |
+#include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_types.h" |
namespace gvr { |
class GvrApi; |
@@ -35,7 +36,8 @@ class DEVICE_VR_EXPORT GvrDelegate { |
float top, |
float width, |
float height) = 0; |
- |
+ virtual void SetGvrPoseForWebVr(const gvr::Mat4f& pose, |
+ uint32_t pose_index) = 0; |
virtual gvr::GvrApi* gvr_api() = 0; |
}; |