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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 17756003: Colors in views::StyledLabel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename SetBackgroundColor -> SetDisplayedOnBackgroundColor Created 7 years, 5 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/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 7a40667b85d4a00cc614f46b556a15e36dedf322..b9a8e2d96a4828c05fab6bba60567e1110e3a93f 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -1515,6 +1515,8 @@ views::View* AutofillDialogViews::CreateFootnoteView() {
views::Background::CreateSolidBackground(kShadingColor));
legal_document_view_ = new views::StyledLabel(string16(), this);
+ legal_document_view_->SetDisplayedOnBackgroundColor(kShadingColor);
+
footnote_view_->AddChildView(legal_document_view_);
footnote_view_->SetVisible(false);

Powered by Google App Engine
This is Rietveld 408576698