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

Unified Diff: ui/message_center/notification_delegate.h

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: Send NullableString through IPC, remove settings check from ButtonClickWithReply, add TODO in messa… 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 17b4e340d5fa5ff911c9291e8beee6c08c7ab053..ad359c05c4b9276fb1ef39fbbfcdad9e2805d9f9 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"
#if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
@@ -43,6 +44,11 @@ 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.
+ // TODO(crbug.com/599859) Support this feature in the message center.
Peter Beverloo 2016/10/12 13:58:31 Sorry, one more addendum: it would be good to note
awdf 2016/10/12 17:04:01 Done.
+ 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