Chromium Code Reviews| Index: ui/message_center/message_center.h |
| diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h |
| index ff7eb0310d8b8d5356b5f89bd506ca9134dfbbf7..d86cb8a96dd57164ed5f4547b4d022833226ad7d 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,8 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate { |
| // to identify the requesting browser context). |
| virtual void ShowSettings(const std::string& notification_id) = 0; |
| + virtual void ShowSettingsDialog(gfx::NativeView context) = 0; |
|
Daniel Erat
2013/01/24 03:16:21
nit: add a short comment describing what this does
Jun Mukai
2013/01/24 04:04:30
Done.
|
| + |
| // Called when the notification body is clicked on. |
| virtual void OnClicked(const std::string& notification_id) = 0; |
| @@ -139,6 +142,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) |