Check user gesture before firing an intent in WebView
Only fire intents when navigation is initiated by the user
(via a gesture), or by the server (a redirect). This curbs
down attempts to launch intents purely by JS code, which
lead to a poor UX -- tasks appearing from nowhere.
BUG=
501633
Committed:
https://crrev.com/849952a42e20bbc4ebd3d2805b085982b3f42730
Cr-Commit-Position: refs/heads/master@{#338133}