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

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

Issue 728763003: Introduce a //content/ API for dispatching notificationclick events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "content/common/service_worker/service_worker_status_code.h" 11 #include "content/common/service_worker/service_worker_status_code.h"
12 #include "content/common/service_worker/service_worker_types.h" 12 #include "content/common/service_worker/service_worker_types.h"
13 #include "content/public/common/show_desktop_notification_params.h"
13 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
14 #include "ipc/ipc_param_traits.h" 15 #include "ipc/ipc_param_traits.h"
15 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" 16 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h"
16 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" 17 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h"
17 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" 18 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h"
18 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" 19 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h"
19 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" 20 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h"
20 #include "url/gurl.h" 21 #include "url/gurl.h"
21 22
22 #undef IPC_MESSAGE_EXPORT 23 #undef IPC_MESSAGE_EXPORT
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, 369 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent,
369 int /* request_id */, 370 int /* request_id */,
370 int /* active_version_id */) 371 int /* active_version_id */)
371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 372 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
372 int /* request_id */) 373 int /* request_id */)
373 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 374 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
374 int /* request_id */, 375 int /* request_id */,
375 content::ServiceWorkerFetchRequest) 376 content::ServiceWorkerFetchRequest)
376 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, 377 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent,
377 int /* request_id */) 378 int /* request_id */)
378 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NotificationClickEvent, 379 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent,
379 int /* request_id */, 380 int /* request_id */,
380 std::string /* notification_id */) 381 std::string /* notification_id */,
382 content::ShowDesktopNotificationHostMsgParams)
381 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 383 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
382 int /* request_id */, 384 int /* request_id */,
383 std::string /* data */) 385 std::string /* data */)
384 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, 386 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
385 int /* request_id */, 387 int /* request_id */,
386 blink::WebGeofencingEventType /* event_type */, 388 blink::WebGeofencingEventType /* event_type */,
387 std::string /* region_id */, 389 std::string /* region_id */,
388 blink::WebCircularGeofencingRegion /* region */) 390 blink::WebCircularGeofencingRegion /* region */)
389 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, 391 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker,
390 base::string16 /* message */, 392 base::string16 /* message */,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 blink::WebServiceWorkerCacheError) 455 blink::WebServiceWorkerCacheError)
454 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 456 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
455 int /* request_id */, 457 int /* request_id */,
456 blink::WebServiceWorkerCacheError) 458 blink::WebServiceWorkerCacheError)
457 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 459 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
458 int /* request_id */, 460 int /* request_id */,
459 blink::WebServiceWorkerCacheError) 461 blink::WebServiceWorkerCacheError)
460 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 462 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
461 int /* request_id */, 463 int /* request_id */,
462 blink::WebServiceWorkerCacheError) 464 blink::WebServiceWorkerCacheError)
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698