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

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

Issue 95223003: Remove plumbing for showing HTML notifications from content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for desktop notification. 5 // IPC messages for desktop notification.
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/show_desktop_notification_params.h" 8 #include "content/public/common/show_desktop_notification_params.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 10
11 #define IPC_MESSAGE_START DesktopNotificationMsgStart 11 #define IPC_MESSAGE_START DesktopNotificationMsgStart
12 12
13 IPC_STRUCT_TRAITS_BEGIN(content::ShowDesktopNotificationHostMsgParams) 13 IPC_STRUCT_TRAITS_BEGIN(content::ShowDesktopNotificationHostMsgParams)
14 IPC_STRUCT_TRAITS_MEMBER(origin) 14 IPC_STRUCT_TRAITS_MEMBER(origin)
15 IPC_STRUCT_TRAITS_MEMBER(is_html)
16 IPC_STRUCT_TRAITS_MEMBER(contents_url)
17 IPC_STRUCT_TRAITS_MEMBER(icon_url) 15 IPC_STRUCT_TRAITS_MEMBER(icon_url)
18 IPC_STRUCT_TRAITS_MEMBER(title) 16 IPC_STRUCT_TRAITS_MEMBER(title)
19 IPC_STRUCT_TRAITS_MEMBER(body) 17 IPC_STRUCT_TRAITS_MEMBER(body)
20 IPC_STRUCT_TRAITS_MEMBER(direction) 18 IPC_STRUCT_TRAITS_MEMBER(direction)
21 IPC_STRUCT_TRAITS_MEMBER(replace_id) 19 IPC_STRUCT_TRAITS_MEMBER(replace_id)
22 IPC_STRUCT_TRAITS_MEMBER(notification_id) 20 IPC_STRUCT_TRAITS_MEMBER(notification_id)
23 IPC_STRUCT_TRAITS_END() 21 IPC_STRUCT_TRAITS_END()
24 22
25 // Messages sent from the browser to the renderer. 23 // Messages sent from the browser to the renderer.
26 24
(...skipping 29 matching lines...) Expand all
56 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel, 54 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel,
57 int /* notification_id */) 55 int /* notification_id */)
58 56
59 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_RequestPermission, 57 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_RequestPermission,
60 GURL /* origin */, 58 GURL /* origin */,
61 int /* callback_context */) 59 int /* callback_context */)
62 60
63 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission, 61 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission,
64 GURL /* origin */, 62 GURL /* origin */,
65 int /* permission_result */) 63 int /* permission_result */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/common/show_desktop_notification_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698