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

Side by Side Diff: content/common/service_worker/service_worker_messages.h

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 4 years, 10 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
254 int /* request_id */, 254 int /* request_id */,
255 blink::WebServiceWorkerEventResult) 255 blink::WebServiceWorkerEventResult)
256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
257 int /* request_id */, 257 int /* request_id */,
258 content::ServiceWorkerFetchEventResult, 258 content::ServiceWorkerFetchEventResult,
259 content::ServiceWorkerResponse) 259 content::ServiceWorkerResponse)
260 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished, 260 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished,
261 int /* request_id */, 261 int /* request_id */,
262 blink::WebServiceWorkerEventResult) 262 blink::WebServiceWorkerEventResult)
263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished,
264 int /* request_id */,
265 blink::WebServiceWorkerEventResult)
263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
264 int /* request_id */, 267 int /* request_id */,
265 blink::WebServiceWorkerEventResult) 268 blink::WebServiceWorkerEventResult)
266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, 269 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished,
267 int /* request_id */, 270 int /* request_id */,
268 blink::WebServiceWorkerEventResult) 271 blink::WebServiceWorkerEventResult)
269 272
270 // Responds to a Ping from the browser. 273 // Responds to a Ping from the browser.
271 // Routed to the target ServiceWorkerVersion. 274 // Routed to the target ServiceWorkerVersion.
272 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) 275 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 std::vector<content::TransferredMessagePort> /* sent_message_ports */, 467 std::vector<content::TransferredMessagePort> /* sent_message_ports */,
465 std::vector<int> /* new_routing_ids */) 468 std::vector<int> /* new_routing_ids */)
466 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
467 int /* request_id */, 470 int /* request_id */,
468 content::ServiceWorkerFetchRequest) 471 content::ServiceWorkerFetchRequest)
469 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, 472 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
470 int /* request_id */, 473 int /* request_id */,
471 int64_t /* persistent_notification_id */, 474 int64_t /* persistent_notification_id */,
472 content::PlatformNotificationData /* notification_data */, 475 content::PlatformNotificationData /* notification_data */,
473 int /* action_index */) 476 int /* action_index */)
477 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
478 int /* request_id */,
479 int64_t /* persistent_notification_id */,
480 content::PlatformNotificationData /* notification_data */)
474 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 481 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
475 int /* request_id */, 482 int /* request_id */,
476 content::PushEventPayload /* data */) 483 content::PushEventPayload /* data */)
477 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, 484 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
478 int /* request_id */, 485 int /* request_id */,
479 blink::WebGeofencingEventType /* event_type */, 486 blink::WebGeofencingEventType /* event_type */,
480 std::string /* region_id */, 487 std::string /* region_id */,
481 blink::WebCircularGeofencingRegion /* region */) 488 blink::WebCircularGeofencingRegion /* region */)
482 489
483 // TODO(nhiroki): Remove this after ExtendableMessageEvent is enabled by 490 // TODO(nhiroki): Remove this after ExtendableMessageEvent is enabled by
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 535
529 // Sent via EmbeddedWorker as a response of NavigateClient. 536 // Sent via EmbeddedWorker as a response of NavigateClient.
530 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 537 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
531 int /* request_id */, 538 int /* request_id */,
532 content::ServiceWorkerClientInfo /* client */) 539 content::ServiceWorkerClientInfo /* client */)
533 540
534 // Sent via EmbeddedWorker as an error response of NavigateClient. 541 // Sent via EmbeddedWorker as an error response of NavigateClient.
535 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 542 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
536 int /* request_id */, 543 int /* request_id */,
537 GURL /* url */) 544 GURL /* url */)
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_metrics.cc ('k') | content/public/browser/notification_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698