Autofill OSX: Add PermanentErrorMessage box and label.
Adds red permanent error message banner between title and instructions. Error messages passed to CardUnmaskPromptViewBridge::GotVerificationResult() with allow_retry == false are displayed. The banner is hidden until an error message is passed to GotVerificationResult(). Note that the red banner does not extend to the full width of the dialog (see screenshot attached to bug). Extending to the full dialog width requires significant refactoring of the layout code, so I'm doing it in two parts. This CL adds the banner functionality, and a separate CL will fix the layout. Dialog will re-layout to fit entire message if a multiline message is set. Also adds an ASCII art diagram of the dialog layout. Screenshot attached to bug: https://code.google.com/p/chromium/issues/detail?id=448572#c15 BUG=448572 Review URL: https://codereview.chromium.org/1038503003 Cr-Commit-Position: refs/heads/master@{#322441}
Showing
Please register or sign in to comment