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

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

Issue 102593002: Convert string16 to base::string16 in 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
« no previous file with comments | « content/common/database_messages.h ('k') | content/common/dom_storage/dom_storage_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 13 matching lines...) Expand all
24 24
25 // Used to inform the renderer that the browser has displayed its 25 // Used to inform the renderer that the browser has displayed its
26 // requested notification. 26 // requested notification.
27 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostDisplay, 27 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostDisplay,
28 int /* notification_id */) 28 int /* notification_id */)
29 29
30 // Used to inform the renderer that the browser has encountered an error 30 // Used to inform the renderer that the browser has encountered an error
31 // trying to display a notification. 31 // trying to display a notification.
32 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostError, 32 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostError,
33 int /* notification_id */, 33 int /* notification_id */,
34 string16 /* message */) 34 base::string16 /* message */)
35 35
36 // Informs the renderer that the one if its notifications has closed. 36 // Informs the renderer that the one if its notifications has closed.
37 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose, 37 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose,
38 int /* notification_id */, 38 int /* notification_id */,
39 bool /* by_user */) 39 bool /* by_user */)
40 40
41 // Informs the renderer that one of its notifications was clicked on. 41 // Informs the renderer that one of its notifications was clicked on.
42 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostClick, 42 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostClick,
43 int /* notification_id */) 43 int /* notification_id */)
44 44
45 // Informs the renderer that the one if its notifications has closed. 45 // Informs the renderer that the one if its notifications has closed.
46 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PermissionRequestDone, 46 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PermissionRequestDone,
47 int /* request_id */) 47 int /* request_id */)
48 48
49 // Messages sent from the renderer to the browser. 49 // Messages sent from the renderer to the browser.
50 50
51 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Show, 51 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Show,
52 content::ShowDesktopNotificationHostMsgParams) 52 content::ShowDesktopNotificationHostMsgParams)
53 53
54 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel, 54 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel,
55 int /* notification_id */) 55 int /* notification_id */)
56 56
57 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_RequestPermission, 57 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_RequestPermission,
58 GURL /* origin */, 58 GURL /* origin */,
59 int /* callback_context */) 59 int /* callback_context */)
60 60
61 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission, 61 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission,
62 GURL /* origin */, 62 GURL /* origin */,
63 int /* permission_result */) 63 int /* permission_result */)
OLDNEW
« no previous file with comments | « content/common/database_messages.h ('k') | content/common/dom_storage/dom_storage_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698