OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/message_center/views/group_view.h" | 5 #include "ui/message_center/views/group_view.h" |
6 | 6 |
7 #include "base/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "grit/ui_resources.h" | 10 #include "grit/ui_resources.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 | 243 |
244 void GroupView::ClickOnNotification(const std::string& notification_id) { | 244 void GroupView::ClickOnNotification(const std::string& notification_id) { |
245 controller_->GroupBodyClicked(notification_id); | 245 controller_->GroupBodyClicked(notification_id); |
246 } | 246 } |
247 | 247 |
248 void GroupView::RemoveNotification(const std::string& notification_id, | 248 void GroupView::RemoveNotification(const std::string& notification_id, |
249 bool by_user) { | 249 bool by_user) { |
250 controller_->RemoveGroup(notifier_id_); | 250 controller_->RemoveGroup(notifier_id_); |
251 } | 251 } |
252 | 252 |
253 void GroupView::DisableNotificationsFromThisSource( | |
254 const NotifierId& notifier_id) { | |
255 controller_->DisableNotificationsFromThisSource(notifier_id); | |
256 } | |
257 | |
258 void GroupView::ShowNotifierSettingsBubble() { | |
259 controller_->ShowNotifierSettingsBubble(); | |
260 } | |
261 | |
262 } // namespace message_center | 253 } // namespace message_center |
OLD | NEW |