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

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: 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 8ef529cbf1f3f1749fab30bb83b9572356e4ca49..ddab5a5ac271e340ab14bade962637742b8de127 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -124,8 +124,7 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
void ForceExitVr();
- static device::mojom::VRPosePtr VRPosePtrFromGvrPose(gvr::Mat4f head_mat,
- uint32_t pose_index);
+ static device::mojom::VRPosePtr VRPosePtrFromGvrPose(gvr::Mat4f head_mat);
private:
virtual ~VrShell();
@@ -141,7 +140,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;

Powered by Google App Engine
This is Rietveld 408576698