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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 ServiceWorkerMsg_MessageToDocument_Params) 428 ServiceWorkerMsg_MessageToDocument_Params)
429 429
430 // Sent via EmbeddedWorker to dispatch events. 430 // Sent via EmbeddedWorker to dispatch events.
431 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 431 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
432 int /* request_id */) 432 int /* request_id */)
433 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 433 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
434 int /* request_id */) 434 int /* request_id */)
435 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 435 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
436 int /* request_id */, 436 int /* request_id */,
437 content::ServiceWorkerFetchRequest) 437 content::ServiceWorkerFetchRequest)
438 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, 438 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
439 int /* request_id */, 439 int /* request_id */,
440 int64_t /* persistent_notification_id */, 440 int64_t /* persistent_notification_id */,
441 content::PlatformNotificationData /* notification_data */) 441 content::PlatformNotificationData /* notification_data */,
442 int /* action_index */)
442 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 443 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
443 int /* request_id */, 444 int /* request_id */,
444 std::string /* data */) 445 std::string /* data */)
445 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, 446 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
446 int /* request_id */, 447 int /* request_id */,
447 blink::WebGeofencingEventType /* event_type */, 448 blink::WebGeofencingEventType /* event_type */,
448 std::string /* region_id */, 449 std::string /* region_id */,
449 blink::WebCircularGeofencingRegion /* region */) 450 blink::WebCircularGeofencingRegion /* region */)
450 IPC_MESSAGE_CONTROL3( 451 IPC_MESSAGE_CONTROL3(
451 ServiceWorkerMsg_MessageToWorker, 452 ServiceWorkerMsg_MessageToWorker,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 493
493 // Sent via EmbeddedWorker as a response of NavigateClient. 494 // Sent via EmbeddedWorker as a response of NavigateClient.
494 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
495 int /* request_id */, 496 int /* request_id */,
496 content::ServiceWorkerClientInfo /* client */) 497 content::ServiceWorkerClientInfo /* client */)
497 498
498 // Sent via EmbeddedWorker as an error response of NavigateClient. 499 // Sent via EmbeddedWorker as an error response of NavigateClient.
499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
500 int /* request_id */, 501 int /* request_id */,
501 GURL /* url */) 502 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698