| Index: ui/message_center/message_center.h
|
| diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h
|
| index 53bb1d02eb9239ce50be145994a09a2195bb11d4..38504899ad2e0072c0f5fcfcbcd3a1e8163b75bd 100644
|
| --- a/ui/message_center/message_center.h
|
| +++ b/ui/message_center/message_center.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/observer_list.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
| #include "ui/message_center/message_center_export.h"
|
| #include "ui/message_center/notification_list.h"
|
| #include "ui/notifications/notification_types.h"
|
| @@ -58,6 +59,10 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
|
| // to identify the requesting browser context).
|
| virtual void ShowSettings(const std::string& notification_id) = 0;
|
|
|
| + // Request to show the notification settings dialog. |context| is necessary
|
| + // to create a new window.
|
| + virtual void ShowSettingsDialog(gfx::NativeView context) = 0;
|
| +
|
| // Called when the notification body is clicked on.
|
| virtual void OnClicked(const std::string& notification_id) = 0;
|
|
|
| @@ -140,6 +145,7 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
|
| virtual void DisableNotificationByExtension(const std::string& id) OVERRIDE;
|
| virtual void DisableNotificationByUrl(const std::string& id) OVERRIDE;
|
| virtual void ShowNotificationSettings(const std::string& id) OVERRIDE;
|
| + virtual void ShowNotificationSettingsDialog(gfx::NativeView context) OVERRIDE;
|
| virtual void OnNotificationClicked(const std::string& id) OVERRIDE;
|
| virtual void OnQuietModeChanged(bool quiet_mode) OVERRIDE;
|
| virtual void OnButtonClicked(const std::string& id, int button_index)
|
|
|