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

Side by Side Diff: ui/message_center/views/group_view.cc

Issue 114323002: Fixes the context menu for a notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/message_center/views/group_view.h ('k') | ui/message_center/views/message_center_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698