Portals: Support default click-to-activate.
This adds a default behavior whereby clicking (or equivalent) will cause the portal to immediately activate, unless the click or DOMActivate event has preventDefault called by a listener. This is guarded by a new runtime enabled feature so that this does not affect the behavior in the current origin trial. Bug: 1102081 Change-Id: I6a6c2409b0123f95d5068c54a423ac2f29e3e968 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281308Reviewed-by:Adithya Srinivasan <adithyas@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#785812}
Showing
Please register or sign in to comment