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

Unified Diff: ui/message_center/message_center_bubble.cc

Issue 12218109: Enables new notifier settings dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_bubble.cc
diff --git a/ui/message_center/message_center_bubble.cc b/ui/message_center/message_center_bubble.cc
index 2e5d8d61c7b684c2837e0d270dab08e919733709..65a09ea9f30a0dcc307a3a755687496722e6c971 100644
--- a/ui/message_center/message_center_bubble.cc
+++ b/ui/message_center/message_center_bubble.cc
@@ -217,12 +217,11 @@ class WebNotificationButtonView2 : public WebNotificationButtonViewBase,
// views::ButtonListener overrides:
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE {
- // TODO(mukai): Replace ShowNotificationSettings with
- // ShowNotificationSettingsDialog(GetWidget()->GetNativeView())
if (sender == close_all_button())
list_delegate()->SendRemoveAllNotifications();
else if (sender == settings_button_)
- list_delegate()->ShowNotificationSettings("");
+ list_delegate()->ShowNotificationSettingsDialog(
+ GetWidget()->GetNativeView());
else
NOTREACHED();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698