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

Unified Diff: ui/message_center/notification.h

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/message_center_style.h ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification.h
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
index f5abfe4d14ec40221a5ed2b90a1db785d670f96e..579c2be36bc3566a463badfdc477d48fcb40b5e3 100644
--- a/ui/message_center/notification.h
+++ b/ui/message_center/notification.h
@@ -171,11 +171,6 @@ class MESSAGE_CENTER_EXPORT Notification {
const gfx::Image& icon() const { return icon_; }
void set_icon(const gfx::Image& icon) { icon_ = icon; }
- // Gets and sets whether to draw a solid background colour behind the
- // notification's icon. Only applies to the Views implementation.
- bool draw_icon_background() const { return draw_icon_background_; }
- void set_draw_icon_background(bool draw) { draw_icon_background_ = draw; }
-
const gfx::Image& image() const { return optional_fields_.image; }
void set_image(const gfx::Image& image) { optional_fields_.image = image; }
@@ -268,10 +263,6 @@ class MESSAGE_CENTER_EXPORT Notification {
// Image data for the associated icon, used by Ash when available.
gfx::Image icon_;
- // True by default; controls whether to draw a solid background colour behind
- // the |icon_|. Only applies to the Views implementation.
- bool draw_icon_background_;
-
// The display string for the source of the notification. Could be
// the same as origin_url_, or the name of an extension.
base::string16 display_source_;
« no previous file with comments | « ui/message_center/message_center_style.h ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698