Index: components/autofill/core/browser/autofill_external_delegate.cc |
diff --git a/components/autofill/core/browser/autofill_external_delegate.cc b/components/autofill/core/browser/autofill_external_delegate.cc |
index 82b7396c7c8f999ac184d9885014910a9f031e49..c9471f4ccb99e6831eb16d743f454e96767ad42b 100644 |
--- a/components/autofill/core/browser/autofill_external_delegate.cc |
+++ b/components/autofill/core/browser/autofill_external_delegate.cc |
@@ -293,8 +293,11 @@ void AutofillExternalDelegate::ApplyAutofillOptions( |
} |
// Append the 'Chrome Autofill options' menu item; |
- suggestions->push_back(Suggestion( |
- l10n_util::GetStringUTF16(IDS_AUTOFILL_OPTIONS_POPUP))); |
+ // TODO(rouslan): Switch on the platform in the GRD file when keyboard |
+ // accessory becomes default on Android. |
+ suggestions->push_back(Suggestion(l10n_util::GetStringUTF16( |
+ IsKeyboardAccessoryEnabled() ? IDS_AUTOFILL_OPTIONS_CONTENT_DESCRIPTION |
+ : IDS_AUTOFILL_OPTIONS_POPUP))); |
suggestions->back().frontend_id = POPUP_ITEM_ID_AUTOFILL_OPTIONS; |
if (IsKeyboardAccessoryEnabled()) |
suggestions->back().icon = base::ASCIIToUTF16("settings"); |