Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an API to query whether the window has seen a user gesture. #11361

Merged
merged 1 commit into from
Jul 5, 2018

Commits on Jul 5, 2018

  1. Add an API to query whether the window has seen a user gesture.

    Add a variable on the navigator object to query whether the frame has
    seen a user activation ever.
    
    The postMessage part of the proposal will be done in a separate patch,
    this change is limited to just adding the object definition and
    exposing it on navigator.
    
    https://github.com/dtapuska/useractivation
    whatwg/html#1983
    
    BUG=846858
    
    Change-Id: I6ca4c80f4096bfae9ca13b175b46df6b4486a6dd
    Reviewed-on: https://chromium-review.googlesource.com/1076979
    Commit-Queue: Dave Tapuska <[email protected]>
    Reviewed-by: Rick Byers <[email protected]>
    Reviewed-by: Mustaq Ahmed <[email protected]>
    Cr-Commit-Position: refs/heads/master@{#572847}
    dtapuska authored and Chrome-bot committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    f5d73b1 View commit details
    Browse the repository at this point in the history