Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2612333002: Allow VRDisplay to specify which frame the layer bounds should be updated at. (Closed)
Patch Set: rebase + address comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 66b0f53a066ce9945bd93b64ed4003c4736ddf43..d979adfb918c776e55bee2f4ff9ddd98eb35b4b0 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -134,8 +134,7 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
void ProcessUIGesture(std::unique_ptr<blink::WebInputEvent> event);
void ProcessContentGesture(std::unique_ptr<blink::WebInputEvent> event);
- static device::mojom::VRPosePtr VRPosePtrFromGvrPose(gvr::Mat4f head_mat,
- uint32_t pose_index);
+ static device::mojom::VRPosePtr VRPosePtrFromGvrPose(gvr::Mat4f head_mat);
private:
~VrShell() override;
@@ -150,7 +149,8 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
// device::GvrDelegate implementation
void SetWebVRSecureOrigin(bool secure_origin) override;
void SubmitWebVRFrame() override;
- void UpdateWebVRTextureBounds(const gvr::Rectf& left_bounds,
+ void UpdateWebVRTextureBounds(int16_t frame_index,
+ const gvr::Rectf& left_bounds,
const gvr::Rectf& right_bounds) override;
gvr::GvrApi* gvr_api() override;
void SetWebVRRenderSurfaceSize(int width, int height) override;
« no previous file with comments | « chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698