Reland "[WebView][WebAuthn] Introduce WebSettings.setWebAuthnSupport"

With the reland of crrev.com/c/5327926, this should be reland to safe.
No changes wrt the original CL.

This is a reland of commit 991e4f9f43589d8451c10475ba39f4054076d560

Original change's description:
> [WebView][WebAuthn] Introduce WebSettings.setWebAuthnSupport
>
> The support is per WebView. Hence, we cache the support per WebContents.
> When the WebContents of a WebView change, we update the cache.
>
> Test method:
> 1 - androidx does not have the API yet. Thus, I modified the
> WebSettingsCompat.setAlgorithmicDarkeningAllowed to call the new
> setWebAuthnSupport API. Then I used the API in the test app.
> 2 - Used the custom GMSCore which includes the ResultReceiver changes.
>
> Demo: https://photos.app.goo.gl/bsrJtCuAMM2Ee9Je8
> In the demo you see two WebViews within a single app. The first has
> WebAuthn disabled; the second is in app mode.
>
> Bug: b/41483780, b/316886235
> Change-Id: If3eae1634044cc117dac435d8bd823194cb47e5a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5273159
> Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
> Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
> Commit-Queue: Adem Derinel <derinel@google.com>
> Cr-Commit-Position: refs/heads/main@{#1265745}

Bug: b/41483780, b/316886235
Change-Id: I95de7a1e05e38f15021b73d062abb8504f60fc66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5349152
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Commit-Queue: Adem Derinel <derinel@google.com>
Cr-Commit-Position: refs/heads/main@{#1269507}
NOKEYCHECK=True
GitOrigin-RevId: 916b2555fb5e060d9e53f472c655ea748b713b9d
1 file changed
tree: f11ecae27af6ce8a289d9cdc28c024649cb76712
  1. src/
  2. .gitignore
  3. BUILD.gn
  4. DEPS
  5. OWNERS
  6. proguard.flags
  7. README.md
README.md

Webkit Boundary Interfaces

Note: the canonical copy of the boundary interfaces lives in the chromium repository; this subdirectory of chromium is mirrored into the Android project for use by the webkit AndroidX module.

If you‘re reading this file in the Android repository, don’t make changes in this folder. Please make changes in chromium, or contact the OWNERS in frameworks/support/webkit/.

If you're reading this file in the chromium repository, you should feel free to make changes. Please be aware that this folder has strict import requirements (enforced by DEPS), because it must continue to build when mirrored into Android.