| Index: chrome/browser/ui/autofill/autofill_popup_layout_model.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
|
| index 385d472d25dcc03c910ac86ecd1555f3c2568b6d..2f5b27f6c102cd855003a4b5403d0173a4a0a1e9 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "chrome/app/vector_icons/vector_icons.h"
|
| #include "chrome/browser/ui/autofill/autofill_popup_view.h"
|
| #include "chrome/browser/ui/autofill/popup_constants.h"
|
| #include "components/autofill/core/browser/autofill_experiments.h"
|
| @@ -180,6 +181,7 @@ const gfx::FontList& AutofillPopupLayoutModel::GetValueFontListForRow(
|
| case POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE:
|
| case POPUP_ITEM_ID_TITLE:
|
| case POPUP_ITEM_ID_PASSWORD_ENTRY:
|
| + case POPUP_ITEM_ID_ALL_SAVED_PASSWORDS_ENTRY:
|
| return normal_font_list_;
|
| case POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY:
|
| case POPUP_ITEM_ID_DATALIST_ENTRY:
|
| @@ -230,6 +232,11 @@ gfx::ImageSkia AutofillPopupLayoutModel::GetIconImage(size_t index) const {
|
| kHttpWarningIconWidth, gfx::kGoogleRed700);
|
| }
|
|
|
| + if (icon_str == base::ASCIIToUTF16("showAllSavedPasswords")) {
|
| + return gfx::CreateVectorIcon(kShowAllSavedPasswordsIcon,
|
| + kHttpWarningIconWidth, gfx::kChromeIconGrey);
|
| + }
|
| +
|
| // For other suggestion entries, get icon from PNG files.
|
| int icon_id = GetIconResourceID(icon_str);
|
| DCHECK_NE(-1, icon_id);
|
|
|