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

Unified Diff: ui/message_center/message_center.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/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)

Powered by Google App Engine
This is Rietveld 408576698