• Alex Cooper's avatar
    Add Feature for WebXrPermissionsAPI · 491f182e
    Alex Cooper authored
    Currently WebXr uses a custom consent flow. Due to changes in the spec,
    and desired expansion to other platforms, WebXr needs to switch to using
    the Permissions API instead. This change adds a flag to enable
    development of switching the consent prompt out with calls to the
    permissions api.  Note that while the spec is evolving to allow proper
    querying by sites in the renderer, this flag is intended to only gate
    switching the internals. (e.g. using the permissions API to prompt for
    user consent to initiate a WebXr session).
    
    Bug: 1033592
    Change-Id: I0eec6308f6432cbff3c60bff3e949fe3b2205926
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992267
    Commit-Queue: Alexander Cooper <alcooper@chromium.org>
    Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
    Auto-Submit: Alexander Cooper <alcooper@chromium.org>
    Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#729556}
    491f182e
content_features.h 10.8 KB