Index: chrome/browser/android/vr_shell/vr_shell_gl.h |
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h |
index be669b0adb794ac83c1beb50d085b74cfe80f024..28889d2358431a1bfe14fd92eaeebcc9696bdb2d 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h |
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h |
@@ -116,17 +116,18 @@ class VrShellGl : public device::mojom::VRVSyncProvider { |
void InitializeRenderer(); |
void DrawFrame(int16_t frame_index); |
void DrawVrShellAndUnbind(const gvr::Mat4f& head_pose, gvr::Frame& frame); |
- void DrawUiView(const gvr::Mat4f* head_pose, |
+ void DrawUiView(const gvr::Mat4f& head_pose, |
const std::vector<const ContentRectangle*>& elements, |
const gvr::Sizei& render_size, |
- int viewport_offset); |
+ int viewport_offset, |
+ bool draw_cursor); |
void DrawElements(const gvr::Mat4f& view_proj_matrix, |
- const gvr::Mat4f& view_matrix, |
const std::vector<const ContentRectangle*>& elements); |
std::vector<const ContentRectangle*> GetElementsInDrawOrder( |
const gvr::Mat4f& view_matrix, |
const std::vector<const ContentRectangle*>& elements); |
void DrawCursor(const gvr::Mat4f& render_matrix); |
+ bool ShouldDrawWebVr(); |
void DrawWebVr(); |
bool WebVrPoseByteIsValid(int pose_index_byte); |