summaryrefslogtreecommitdiffstats
path: root/ui/message_center/message_center.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/message_center/message_center.cc')
-rw-r--r--ui/message_center/message_center.cc20
1 files changed, 11 insertions, 9 deletions
diff --git a/ui/message_center/message_center.cc b/ui/message_center/message_center.cc
index f8a7b0c..6530005 100644
--- a/ui/message_center/message_center.cc
+++ b/ui/message_center/message_center.cc
@@ -82,21 +82,23 @@ void MessageCenter::RemoveNotification(const std::string& id) {
NotifyMessageCenterChanged(false);
}
-void MessageCenter::SetNotificationPrimaryIcon(const std::string& id,
- const gfx::ImageSkia& image) {
- if (notification_list_->SetNotificationPrimaryIcon(id, image))
+void MessageCenter::SetNotificationIcon(const std::string& notification_id,
+ const gfx::ImageSkia& image) {
+ if (notification_list_->SetNotificationIcon(notification_id, image))
NotifyMessageCenterChanged(true);
}
-void MessageCenter::SetNotificationSecondaryIcon(const std::string& id,
- const gfx::ImageSkia& image) {
- if (notification_list_->SetNotificationSecondaryIcon(id, image))
+void MessageCenter::SetNotificationImage(const std::string& notification_id,
+ const gfx::ImageSkia& image) {
+ if (notification_list_->SetNotificationImage(notification_id, image))
NotifyMessageCenterChanged(true);
}
-void MessageCenter::SetNotificationImage(const std::string& id,
- const gfx::ImageSkia& image) {
- if (notification_list_->SetNotificationImage(id, image))
+void MessageCenter::SetNotificationButtonIcon(
+ const std::string& notification_id, int button_index,
+ const gfx::ImageSkia& image) {
+ if (notification_list_->SetNotificationButtonIcon(notification_id,
+ button_index, image))
NotifyMessageCenterChanged(true);
}