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

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 1269923003: Plumb notification action index for desktop SW notificationclick (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@actions
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: content/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index ef4e5e9ad122d39a6461f26b4d3769a3ea427f6b..0c275313f8c0b0819dc48ff5ffc2c6b53026dc1d 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -435,10 +435,11 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
int /* request_id */,
content::ServiceWorkerFetchRequest)
-IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent,
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
int /* request_id */,
int64_t /* persistent_notification_id */,
- content::PlatformNotificationData /* notification_data */)
+ content::PlatformNotificationData /* notification_data */,
+ int /* action_index */)
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
int /* request_id */,
std::string /* data */)

Powered by Google App Engine
This is Rietveld 408576698