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

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

Issue 1388483002: Implement the Notification `timestamp` property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 30 matching lines...) Expand all
41 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
42 42
43 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData) 43 IPC_STRUCT_TRAITS_BEGIN(content::PlatformNotificationData)
44 IPC_STRUCT_TRAITS_MEMBER(title) 44 IPC_STRUCT_TRAITS_MEMBER(title)
45 IPC_STRUCT_TRAITS_MEMBER(direction) 45 IPC_STRUCT_TRAITS_MEMBER(direction)
46 IPC_STRUCT_TRAITS_MEMBER(lang) 46 IPC_STRUCT_TRAITS_MEMBER(lang)
47 IPC_STRUCT_TRAITS_MEMBER(body) 47 IPC_STRUCT_TRAITS_MEMBER(body)
48 IPC_STRUCT_TRAITS_MEMBER(tag) 48 IPC_STRUCT_TRAITS_MEMBER(tag)
49 IPC_STRUCT_TRAITS_MEMBER(icon) 49 IPC_STRUCT_TRAITS_MEMBER(icon)
50 IPC_STRUCT_TRAITS_MEMBER(vibration_pattern) 50 IPC_STRUCT_TRAITS_MEMBER(vibration_pattern)
51 IPC_STRUCT_TRAITS_MEMBER(timestamp)
51 IPC_STRUCT_TRAITS_MEMBER(silent) 52 IPC_STRUCT_TRAITS_MEMBER(silent)
52 IPC_STRUCT_TRAITS_MEMBER(require_interaction) 53 IPC_STRUCT_TRAITS_MEMBER(require_interaction)
53 IPC_STRUCT_TRAITS_MEMBER(data) 54 IPC_STRUCT_TRAITS_MEMBER(data)
54 IPC_STRUCT_TRAITS_MEMBER(actions) 55 IPC_STRUCT_TRAITS_MEMBER(actions)
55 IPC_STRUCT_TRAITS_END() 56 IPC_STRUCT_TRAITS_END()
56 57
57 // Messages sent from the browser to the renderer. 58 // Messages sent from the browser to the renderer.
58 59
59 // Informs the renderer that the browser has displayed the notification. 60 // Informs the renderer that the browser has displayed the notification.
60 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow, 61 IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, 107 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
107 int /* notification_id */) 108 int /* notification_id */)
108 109
109 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, 110 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
110 GURL /* origin */, 111 GURL /* origin */,
111 int64_t /* persistent_notification_id */) 112 int64_t /* persistent_notification_id */)
112 113
113 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, 114 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
114 GURL /* origin */, 115 GURL /* origin */,
115 blink::WebNotificationPermission /* result */) 116 blink::WebNotificationPermission /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698