commit | 09b107130f5c7a4cb377322b879ac2aac67cadbf | [log] [tgz] |
---|---|---|
author | Michael Thiessen <mthiesse@chromium.org> | Tue Aug 22 04:58:14 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 22 04:58:14 2017 |
tree | b906a0105153e0539e6a3848aa1468e372d2ab88 | |
parent | 9c3d08706bd2ff29be8e3802e4255363ed460059 [diff] |
VR: Add gesture token to vrdisplayactivate, remove cardboard compat hack This CL adds a gesture token to the displayactivate event which can only be triggered by user action (on Android, placing the phone in a VR headset and completing controller pairing while on a WebVR site). This CL also removes the cardboard click event used for compatibility and supplying user gesture, as a gesture is now supplied with the displayactivate event. Note: Once this lands, action will be required on the part of WebVR Origin Trial participants that were previously relying on the cardboard compat click events to act as user gestures - they will have to perform any gesture-requiring actions in the displayactivate handler. Bug: 716571, 756564 Change-Id: I541c8e181fadaf58710da57b6e9f5e8971451073 Reviewed-on: https://chromium-review.googlesource.com/619170 Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/master@{#496219}
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 .