Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: components/autofill/core/browser/autofill_external_delegate.cc

Issue 1522563002: Modernize autofill popup design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 25ff5850856a4911b40aa3e6e436c719ee79a073..6a7566f8c64c305c9c80c9282bb8ed25d5da28a0 100644
--- a/components/autofill/core/browser/autofill_external_delegate.cc
+++ b/components/autofill/core/browser/autofill_external_delegate.cc
@@ -303,6 +303,8 @@ void AutofillExternalDelegate::ApplyAutofillOptions(
suggestions->push_back(Suggestion(l10n_util::GetStringUTF16(
IsKeyboardAccessoryEnabled() ? IDS_AUTOFILL_OPTIONS_CONTENT_DESCRIPTION
: IDS_AUTOFILL_OPTIONS_POPUP)));
+ suggestions->back().label =
+ l10n_util::GetStringUTF16(IDS_AUTOFILL_OPTIONS_POPUP_LABEL);
suggestions->back().frontend_id = POPUP_ITEM_ID_AUTOFILL_OPTIONS;
if (IsKeyboardAccessoryEnabled())
suggestions->back().icon = base::ASCIIToUTF16("settings");

Powered by Google App Engine
This is Rietveld 408576698