DescriptionAutofill 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
Committed: https://crrev.com/48a0519f92bfedc80eecef85436f707ab068ccbf
Cr-Commit-Position: refs/heads/master@{#322441}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Replace +sizeTextField with WrapOrSizeToFit() and make label autoresize. #
Total comments: 8
Patch Set 3 : Address groby@ comments on patch set 2. #
Messages
Total messages: 13 (4 generated)
|