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

Unified Diff: content/renderer/service_worker/service_worker_context_client.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/renderer/service_worker/service_worker_context_client.h
diff --git a/content/renderer/service_worker/service_worker_context_client.h b/content/renderer/service_worker/service_worker_context_client.h
index 78529a2f40f342d7bdd87da2b10f7e6d41be7922..2f2c61f425ba17376b80af5fa6286a4b68ef8756 100644
--- a/content/renderer/service_worker/service_worker_context_client.h
+++ b/content/renderer/service_worker/service_worker_context_client.h
@@ -172,7 +172,8 @@ class ServiceWorkerContextClient
void OnNotificationClickEvent(
int request_id,
int64_t persistent_notification_id,
- const PlatformNotificationData& notification_data);
+ const PlatformNotificationData& notification_data,
+ int action_index);
void OnPushEvent(int request_id, const std::string& data);
void OnGeofencingEvent(int request_id,
blink::WebGeofencingEventType event_type,

Powered by Google App Engine
This is Rietveld 408576698