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

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

Issue 2681703002: Use regular weight for password autofill popup on password field. (Closed)
Patch Set: Compilation error on win fix 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 a6068ecfcf8dcf32607a75ccf8d514e9ecdbb204..e4502f0b42d0a1e75927b16fef36d54c5fbe3321 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
@@ -173,11 +173,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