commit | 576f28c9ccc5eb7eaa4e7c1a704562a0baa18afd | [log] [tgz] |
---|---|---|
author | Alex Cooper <alcooper@chromium.org> | Fri Apr 05 21:50:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 05 21:50:19 2019 |
tree | 8feb06e7698f3acce788a088043b24f09f61441d | |
parent | 49ea7013a9266f399693555a822ca764f5deb853 [diff] |
Ensure sample pages track/update when devices are added/removed Currently, the test pages only check once (on page load) if the specific session type is supported. If a device is disconnected while a user is on the page, the "Enter VR" button does not update with that change. This change enables support within the button to listen to device change events and update it's state based on whether the specified session types are supported, and changes all of the pages to consume this new option. Given the nature of xr-barebones, it implements this directly as well rather than relying on the button. Bug: 873409 Change-Id: I4be8a50f88f796b2e4d7d9f0834d4d77cda7d586 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1554643 Reviewed-by: Klaus Weidner <klausw@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#648354}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .