OLD | NEW |
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 // Messages for platform-native notifications using the Web Notification API. | 5 // Messages for platform-native notifications using the Web Notification API. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/public/common/platform_notification_data.h" | 8 #include "content/public/common/platform_notification_data.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onPermission.h" | 10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onPermission.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 IPC_MESSAGE_CONTROL4(PlatformNotificationHostMsg_ShowPersistent, | 53 IPC_MESSAGE_CONTROL4(PlatformNotificationHostMsg_ShowPersistent, |
54 int64 /* service_worker_provider_id */, | 54 int64 /* service_worker_provider_id */, |
55 GURL /* origin */, | 55 GURL /* origin */, |
56 SkBitmap /* icon */, | 56 SkBitmap /* icon */, |
57 content::PlatformNotificationData /* notification_data */) | 57 content::PlatformNotificationData /* notification_data */) |
58 | 58 |
59 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, | 59 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, |
60 int /* notification_id */) | 60 int /* notification_id */) |
61 | 61 |
62 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_ClosePersistent, | 62 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, |
| 63 GURL /* origin */, |
63 std::string /* persistent_notification_id */) | 64 std::string /* persistent_notification_id */) |
64 | 65 |
65 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, | 66 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, |
66 GURL /* origin */, | 67 GURL /* origin */, |
67 blink::WebNotificationPermission /* result */) | 68 blink::WebNotificationPermission /* result */) |
OLD | NEW |