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

Unified Diff: public/platform/modules/notifications/WebNotificationDelegate.h

Issue 1280913002: Deliver action clicks to page notifications (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@click_test
Patch Set: Created 5 years, 4 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: public/platform/modules/notifications/WebNotificationDelegate.h
diff --git a/public/platform/modules/notifications/WebNotificationDelegate.h b/public/platform/modules/notifications/WebNotificationDelegate.h
index 5c77233e2320a4fbea7d8a069d44734d8900ceed..a7afdb5a44a0cde723e4a5bb57f16ef93d516c55 100644
--- a/public/platform/modules/notifications/WebNotificationDelegate.h
+++ b/public/platform/modules/notifications/WebNotificationDelegate.h
@@ -12,7 +12,9 @@ namespace blink {
// a delegate, as their events will be fired on a Service Worker instead.
class WebNotificationDelegate {
public:
+ // TODO(johnme): Remove this method once callers have switched to the one below.
virtual void dispatchClickEvent() = 0;
+ virtual void dispatchClickEvent(int actionIndex) = 0;
virtual void dispatchShowEvent() = 0;
virtual void dispatchErrorEvent() = 0;
virtual void dispatchCloseEvent() = 0;

Powered by Google App Engine
This is Rietveld 408576698