Commit 9604af06 authored by Maksim Ivanov's avatar Maksim Ivanov Committed by Commit Bot

Animate the SAML smart card PIN dialog

Implement the "progress bar" animation in the smart card PIN dialog
shown during the SAML login (the <security-token-pin> Polymer element).

The animation is shown while the PIN is being verified by the smart card
middleware, and the PIN pad is hidden during that time. Once the
verification completes, the animation is stopped and either the dialog
is closed or the error message and the PIN pad are displayed.

Bug: 1016839
Test: start smart card SAML login, enter PIN, check that the progress bar is shown while the PIN is verified
Change-Id: I25e0c7412640f85221e0a73b3a64763c0f61ca18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030411
Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737794}
parent a508f01c
......@@ -19,12 +19,16 @@
icon2x="oobe-64:lock">
</hd-iron-icon>
<div slot="subtitle" id="subtitle">
<span id="description">
<span id="description" hidden="[[processingCompletion_]]">
[[i18nDynamic(locale, 'securityTokenPinDialogSubtitle')]]
</span>
</div>
<paper-progress slot="progress" id="progress"
hidden="[[!processingCompletion_]]"
indeterminate="[[processingCompletion_]]">
</paper-progress>
<div slot="footer">
<div id="pinKeyboardContainer">
<div id="pinKeyboardContainer" hidden="[[processingCompletion_]]">
<pin-keyboard id="pinKeyboard" enable-letters
has-error="[[isErrorLabelVisible_(errorLabelId_, userEdited_)]]"
aria-label="[[getLabel_(locale, parameters, errorLabelId_,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment