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 <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 IPC_STRUCT_TRAITS_END() | 42 IPC_STRUCT_TRAITS_END() |
43 | 43 |
44 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData) | 44 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData) |
45 IPC_STRUCT_TRAITS_MEMBER(title) | 45 IPC_STRUCT_TRAITS_MEMBER(title) |
46 IPC_STRUCT_TRAITS_MEMBER(direction) | 46 IPC_STRUCT_TRAITS_MEMBER(direction) |
47 IPC_STRUCT_TRAITS_MEMBER(lang) | 47 IPC_STRUCT_TRAITS_MEMBER(lang) |
48 IPC_STRUCT_TRAITS_MEMBER(body) | 48 IPC_STRUCT_TRAITS_MEMBER(body) |
49 IPC_STRUCT_TRAITS_MEMBER(tag) | 49 IPC_STRUCT_TRAITS_MEMBER(tag) |
50 IPC_STRUCT_TRAITS_MEMBER(icon) | 50 IPC_STRUCT_TRAITS_MEMBER(icon) |
51 IPC_STRUCT_TRAITS_MEMBER(vibration_pattern) | 51 IPC_STRUCT_TRAITS_MEMBER(vibration_pattern) |
| 52 IPC_STRUCT_TRAITS_MEMBER(timestamp) |
52 IPC_STRUCT_TRAITS_MEMBER(silent) | 53 IPC_STRUCT_TRAITS_MEMBER(silent) |
53 IPC_STRUCT_TRAITS_MEMBER(require_interaction) | 54 IPC_STRUCT_TRAITS_MEMBER(require_interaction) |
54 IPC_STRUCT_TRAITS_MEMBER(data) | 55 IPC_STRUCT_TRAITS_MEMBER(data) |
55 IPC_STRUCT_TRAITS_MEMBER(actions) | 56 IPC_STRUCT_TRAITS_MEMBER(actions) |
56 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
57 | 58 |
58 IPC_STRUCT_TRAITS_BEGIN(content::NotificationResources) | 59 IPC_STRUCT_TRAITS_BEGIN(content::NotificationResources) |
59 IPC_STRUCT_TRAITS_MEMBER(notification_icon) | 60 IPC_STRUCT_TRAITS_MEMBER(notification_icon) |
60 IPC_STRUCT_TRAITS_END() | 61 IPC_STRUCT_TRAITS_END() |
61 | 62 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, | 114 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, |
114 int /* notification_id */) | 115 int /* notification_id */) |
115 | 116 |
116 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, | 117 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, |
117 GURL /* origin */, | 118 GURL /* origin */, |
118 int64_t /* persistent_notification_id */) | 119 int64_t /* persistent_notification_id */) |
119 | 120 |
120 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, | 121 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, |
121 GURL /* origin */, | 122 GURL /* origin */, |
122 blink::WebNotificationPermission /* result */) | 123 blink::WebNotificationPermission /* result */) |
OLD | NEW |