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

Unified Diff: ui/message_center/notification_delegate.h

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: Remove todo as it doesn't seem necessary after all Created 4 years, 2 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_delegate.h
diff --git a/ui/message_center/notification_delegate.h b/ui/message_center/notification_delegate.h
index 2bd2f4e54c76dade31c2977b3535532efee68bbb..5b2ab311b55470348a1139a7c6157ccaf42d440d 100644
--- a/ui/message_center/notification_delegate.h
+++ b/ui/message_center/notification_delegate.h
@@ -11,6 +11,7 @@
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "base/strings/string16.h"
#include "ui/message_center/message_center_export.h"
namespace content {
@@ -47,6 +48,10 @@ class MESSAGE_CENTER_EXPORT NotificationDelegate
// To be called when the user clicks a button in a notification.
virtual void ButtonClick(int button_index);
+ // To be called when the user types a reply to a notification.
+ virtual void ButtonClickWithReply(int button_index,
+ const base::string16& reply);
+
// To be called when the user clicks the settings button in a notification.
virtual void SettingsClick();

Powered by Google App Engine
This is Rietveld 408576698