| Index: components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
|
| diff --git a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
|
| index 82d0045770c0ab6d34ec1b66ed23450516448385..d7b5601c14e6e4203c4a49f8ae4a6f337b1db798 100644
|
| --- a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
|
| +++ b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
|
| @@ -214,10 +214,17 @@ void CardUnmaskPromptControllerImpl::NewCardLinkClicked() {
|
| }
|
|
|
| base::string16 CardUnmaskPromptControllerImpl::GetWindowTitle() const {
|
| +#if defined(OS_IOS)
|
| + // The iOS UI has less room for the title and places a "Verify" button right
|
| + // next to it so the full title ("Verify your" + type and last four) is
|
| + // unnecessary.
|
| + return card_.TypeAndLastFourDigits();
|
| +#else
|
| int ids = ShouldRequestExpirationDate()
|
| ? IDS_AUTOFILL_CARD_UNMASK_PROMPT_UPDATE_TITLE
|
| : IDS_AUTOFILL_CARD_UNMASK_PROMPT_TITLE;
|
| return l10n_util::GetStringFUTF16(ids, card_.TypeAndLastFourDigits());
|
| +#endif
|
| }
|
|
|
| base::string16 CardUnmaskPromptControllerImpl::GetInstructionsMessage() const {
|
|
|