VR: Clean up WebVR headset insertion.
This CL makes it explicitly clear when we care about whether the page was listening for activate before pause, and when we should autopresent on entering VR (for headset insertion). This also removes the workaround in vr_display_impl that allowed pages without focus to handle displayActivate, favoring handling this case more correctly in VrShellDelegate. Bug: 829513 Change-Id: Ie19c55305d0c59ec3f576010ded0f61ae906a084 Reviewed-on: https://chromium-review.googlesource.com/1004927Reviewed-by:Yash Malik <ymalik@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#549736}
Showing
Please register or sign in to comment