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

Unified Diff: ui/message_center/views/notification_view.cc

Issue 2143653007: Remove icon bg color for message center notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « ui/message_center/notification.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view.cc
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
index 4e6246c675276a98ff6ac714740a3f800e20b9c9..4464be37a4728736cf6babba91c0baa9c9fda872 100644
--- a/ui/message_center/views/notification_view.cc
+++ b/ui/message_center/views/notification_view.cc
@@ -580,13 +580,6 @@ void NotificationView::CreateOrUpdateIconView(
gfx::ImageSkia icon = notification.icon().AsImageSkia();
icon_view_->SetImage(icon, icon.size());
-
- if (notification.draw_icon_background()) {
- icon_view_->set_background(
- views::Background::CreateSolidBackground(kIconBackgroundColor));
- } else {
- icon_view_->set_background(nullptr);
- }
}
void NotificationView::CreateOrUpdateImageView(
« no previous file with comments | « ui/message_center/notification.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698