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

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

Issue 2203963002: [Autofill] Credit Card Signin promo: no bg color, no smaller font. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed kWarningTextColor Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_layout_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
index 2e21fe04a3af18087b29272e7a934a8706b2c340..cdf963fd316b1e7ef83a959e569b8d55b85489d2 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
@@ -382,10 +382,6 @@ bool AutofillPopupControllerImpl::RemoveSuggestion(int list_index) {
SkColor AutofillPopupControllerImpl::GetBackgroundColorForRow(int index) const {
if (index == selected_line_)
return kHoveredBackgroundColor;
- if (suggestions_[index].frontend_id ==
- POPUP_ITEM_ID_CREDIT_CARD_SIGNIN_PROMO) {
- return kPromoPopupBackground;
- }
return SK_ColorTRANSPARENT;
}
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_layout_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698