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

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

Issue 1094553002: Revert "Speculative revert by sheriff" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 25 matching lines...) Expand all
36 content::PlatformNotificationData::NotificationDirectionLast) 36 content::PlatformNotificationData::NotificationDirectionLast)
37 37
38 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData) 38 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData)
39 IPC_STRUCT_TRAITS_MEMBER(title) 39 IPC_STRUCT_TRAITS_MEMBER(title)
40 IPC_STRUCT_TRAITS_MEMBER(direction) 40 IPC_STRUCT_TRAITS_MEMBER(direction)
41 IPC_STRUCT_TRAITS_MEMBER(lang) 41 IPC_STRUCT_TRAITS_MEMBER(lang)
42 IPC_STRUCT_TRAITS_MEMBER(body) 42 IPC_STRUCT_TRAITS_MEMBER(body)
43 IPC_STRUCT_TRAITS_MEMBER(tag) 43 IPC_STRUCT_TRAITS_MEMBER(tag)
44 IPC_STRUCT_TRAITS_MEMBER(icon) 44 IPC_STRUCT_TRAITS_MEMBER(icon)
45 IPC_STRUCT_TRAITS_MEMBER(silent) 45 IPC_STRUCT_TRAITS_MEMBER(silent)
46 IPC_STRUCT_TRAITS_MEMBER(data)
46 IPC_STRUCT_TRAITS_END() 47 IPC_STRUCT_TRAITS_END()
47 48
48 // Messages sent from the browser to the renderer. 49 // Messages sent from the browser to the renderer.
49 50
50 // Informs the renderer that the browser has displayed the notification. 51 // Informs the renderer that the browser has displayed the notification.
51 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow, 52 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow,
52 int /* notification_id */) 53 int /* notification_id */)
53 54
54 // Informs the renderer that the notification has been closed. 55 // Informs the renderer that the notification has been closed.
55 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClose, 56 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClose,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, 98 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
98 int /* notification_id */) 99 int /* notification_id */)
99 100
100 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, 101 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
101 GURL /* origin */, 102 GURL /* origin */,
102 int64_t /* persistent_notification_id */) 103 int64_t /* persistent_notification_id */)
103 104
104 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, 105 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
105 GURL /* origin */, 106 GURL /* origin */,
106 blink::WebNotificationPermission /* result */) 107 blink::WebNotificationPermission /* result */)
OLDNEW
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/public/common/platform_notification_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698