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.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/message_center/message_center.cc b/ui/message_center/message_center.cc
index 3515f7d..a7be4b3 100644
--- a/ui/message_center/message_center.cc
+++ b/ui/message_center/message_center.cc
@@ -135,8 +135,17 @@ void MessageCenter::OnQuietModeChanged(bool quiet_mode) {
host_->MessageCenterChanged(true);
}
+void MessageCenter::OnButtonClicked(const std::string& id, int button_index) {
+ if (delegate_)
+ delegate_->OnButtonClicked(id, button_index);
+}
+
NotificationList* MessageCenter::GetNotificationList() {
return notification_list_.get();
}
+void MessageCenter::Delegate::OnButtonClicked(const std::string& id,
+ int button_index) {
+}
+
} // namespace message_center