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

Unified Diff: ui/message_center/notification_delegate.h

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED 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..a493c18e252eb43b99572acf3347be67e88dce3e 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,12 @@ 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 -
+ // currently it is only supported on Android.
+ 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