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

Side by Side Diff: content/common/platform_notification_messages.h

Issue 1644083002: Fetch notification action icons and pass them through in resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ActionIconBlink
Patch Set: Rebase. 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 // 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 IPC_STRUCT_TRAITS_MEMBER(timestamp) 53 IPC_STRUCT_TRAITS_MEMBER(timestamp)
54 IPC_STRUCT_TRAITS_MEMBER(renotify) 54 IPC_STRUCT_TRAITS_MEMBER(renotify)
55 IPC_STRUCT_TRAITS_MEMBER(silent) 55 IPC_STRUCT_TRAITS_MEMBER(silent)
56 IPC_STRUCT_TRAITS_MEMBER(require_interaction) 56 IPC_STRUCT_TRAITS_MEMBER(require_interaction)
57 IPC_STRUCT_TRAITS_MEMBER(data) 57 IPC_STRUCT_TRAITS_MEMBER(data)
58 IPC_STRUCT_TRAITS_MEMBER(actions) 58 IPC_STRUCT_TRAITS_MEMBER(actions)
59 IPC_STRUCT_TRAITS_END() 59 IPC_STRUCT_TRAITS_END()
60 60
61 IPC_STRUCT_TRAITS_BEGIN(content::NotificationResources) 61 IPC_STRUCT_TRAITS_BEGIN(content::NotificationResources)
62 IPC_STRUCT_TRAITS_MEMBER(notification_icon) 62 IPC_STRUCT_TRAITS_MEMBER(notification_icon)
63 IPC_STRUCT_TRAITS_MEMBER(action_icons)
63 IPC_STRUCT_TRAITS_END() 64 IPC_STRUCT_TRAITS_END()
64 65
65 // Messages sent from the browser to the renderer. 66 // Messages sent from the browser to the renderer.
66 67
67 // Informs the renderer that the browser has displayed the notification. 68 // Informs the renderer that the browser has displayed the notification.
68 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow, 69 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow,
69 int /* notification_id */) 70 int /* notification_id */)
70 71
71 // Informs the renderer that the notification has been closed. 72 // Informs the renderer that the notification has been closed.
72 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClose, 73 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClose,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, 117 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
117 int /* notification_id */) 118 int /* notification_id */)
118 119
119 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, 120 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
120 GURL /* origin */, 121 GURL /* origin */,
121 int64_t /* persistent_notification_id */) 122 int64_t /* persistent_notification_id */)
122 123
123 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, 124 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
124 GURL /* origin */, 125 GURL /* origin */,
125 blink::WebNotificationPermission /* result */) 126 blink::WebNotificationPermission /* result */)
OLDNEW
« no previous file with comments | « content/child/notifications/pending_notifications_tracker_unittest.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698