[Autofill Auth UI](3) Add WebAuthnOfferDialog error state.
So when fetching authentication challenge fails, update the pending WebAuthn offer dialog to the error state and show new contents. Mock: https://docs.google.com/presentation/d/16gfVy4EJ0hPibnOWZ8pqMF09Uy6uCWW2mCd1et9ILDw/edit?ts=5d670e48#slide=id.g33e66b3a17_12_0 Uploaded implementation screenshot in bug comment 11 1) Added function in CCFA to update dialog if error-ed. 2) Added more DialogState enum in model. 3) Changed the way how MVC works. Previously the controller talked to view directly. Now the controller updates model, and view, as an observer, observing any state change and updates itself. Bug: 991037 Change-Id: Ia5159d64f411d51bdcab6d3d1b72638fe014de40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1785627Reviewed-by:Jared Saul <jsaul@google.com> Reviewed-by:
Evan Stade <estade@chromium.org> Commit-Queue: Siyu An <siyua@chromium.org> Cr-Commit-Position: refs/heads/master@{#695378}
Showing
Please register or sign in to comment