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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_layout_model.cc

Issue 2684393003: [Merge] Use regular weight for password autofill popup on password field. (Closed)
Patch Set: Created 3 years, 10 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: 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 23b09a7625c0d69902658be173a7c6fb0ab25cab..228e57849ec74972a0746f3be9faa14b2ddfab58 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
@@ -170,11 +170,12 @@ const gfx::FontList& AutofillPopupLayoutModel::GetValueFontListForRow(
case POPUP_ITEM_ID_SCAN_CREDIT_CARD:
case POPUP_ITEM_ID_SEPARATOR:
case POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE:
- return normal_font_list_;
case POPUP_ITEM_ID_TITLE:
+ case POPUP_ITEM_ID_PASSWORD_ENTRY:
+ return normal_font_list_;
case POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY:
case POPUP_ITEM_ID_DATALIST_ENTRY:
- case POPUP_ITEM_ID_PASSWORD_ENTRY:
+ case POPUP_ITEM_ID_USERNAME_ENTRY:
return bold_font_list_;
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698