commit | 984c8d18acf4b891d5bf39db6a898e2187340e0f | [log] [tgz] |
---|---|---|
author | klausw <klausw@chromium.org> | Fri Apr 28 21:42:29 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 28 21:42:29 2017 |
tree | 7f5dd86fbe139e354ac08bcbf2e2ede83860dfca | |
parent | 8f4cc864bb313fa6ab7b3786937eab15cf834086 [diff] |
WebVR: fix focus while presenting If the WebVR document loses focus, check if the new focused element is an embedding local parent frame. If that's the case, continue presenting. This fixes issues with Cardboard-style touch events that are reported as a click at viewport (0, 0) where the resulting focus loss stopped presentation. BUG=710863 Review-Url: https://codereview.chromium.org/2847233002 Cr-Commit-Position: refs/heads/master@{#468140}