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

Unified Diff: ui/message_center/notification_list.h

Issue 12052057: Introduces 'context' param to NotifierSettingsView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/notification_list.h
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
index 8cd66559a4acd60ed56d6c39668fff50f5f6360e..cb6b990cbfde48d4d5fa497fd403080f3f142a14 100644
--- a/ui/message_center/notification_list.h
+++ b/ui/message_center/notification_list.h
@@ -13,6 +13,7 @@
#include "base/time.h"
#include "base/timer.h"
#include "ui/gfx/image/image_skia.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/message_center/message_center_export.h"
#include "ui/notifications/notification_types.h"
@@ -77,9 +78,12 @@ class MESSAGE_CENTER_EXPORT NotificationList {
virtual void DisableNotificationByExtension(const std::string& id) = 0;
virtual void DisableNotificationByUrl(const std::string& id) = 0;
- // Requests the Delegate to the settings dialog.
+ // Requests the Delegate to show the settings page.
virtual void ShowNotificationSettings(const std::string& id) = 0;
+ // Requests the Delegate to show the settings dialog.
+ virtual void ShowNotificationSettingsDialog(gfx::NativeView context) = 0;
+
// Called when a notification is clicked on.
virtual void OnNotificationClicked(const std::string& id) = 0;

Powered by Google App Engine
This is Rietveld 408576698