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

Unified Diff: ui/message_center/message_center.cc

Issue 12052057: Introduces 'context' param to NotifierSettingsView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a compile error happened by a latest CL Created 7 years, 11 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
Index: ui/message_center/message_center.cc
diff --git a/ui/message_center/message_center.cc b/ui/message_center/message_center.cc
index c449a056d69ba06c23fab9908b2dd230217b713c..02ea67e5dc8a687b3c81bc02d1dabe50146b176e 100644
--- a/ui/message_center/message_center.cc
+++ b/ui/message_center/message_center.cc
@@ -144,6 +144,11 @@ void MessageCenter::ShowNotificationSettings(const std::string& id) {
delegate_->ShowSettings(id);
}
+void MessageCenter::ShowNotificationSettingsDialog(gfx::NativeView context) {
+ if (delegate_)
+ delegate_->ShowSettingsDialog(context);
+}
+
void MessageCenter::OnNotificationClicked(const std::string& id) {
if (delegate_)
delegate_->OnClicked(id);

Powered by Google App Engine
This is Rietveld 408576698