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

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

Issue 2576143002: Tweak payment autofill disabled message in form-not-secure (Closed)
Patch Set: fix comment wrapping Created 4 years 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 5364cb6130d7ab676b29b1076e67bb330b6e667f..3b2f016e39f4942ac289983020e21ef00b58772c 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.cc
@@ -175,6 +175,7 @@ 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:
+ case POPUP_ITEM_ID_PAYMENT_DISABLED_MESSAGE:
Mathieu 2016/12/15 17:52:06 I think we should align so that both kinds of warn
estark 2016/12/15 19:22:32 Done.
return normal_font_list_;
case POPUP_ITEM_ID_TITLE:
case POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY:
@@ -202,6 +203,7 @@ SkColor AutofillPopupLayoutModel::GetValueFontColorForRow(size_t index) const {
case POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE:
return gfx::kGoogleRed700;
case POPUP_ITEM_ID_INSECURE_CONTEXT_PAYMENT_DISABLED_MESSAGE:
+ case POPUP_ITEM_ID_PAYMENT_DISABLED_MESSAGE:
return kLabelTextColor;
default:
return kValueTextColor;

Powered by Google App Engine
This is Rietveld 408576698