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

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

Issue 433433002: Remove code for the old Web Notification permission-path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | 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
(...skipping 22 matching lines...) Expand all
33 33
34 // Informs the renderer that the one if its notifications has closed. 34 // Informs the renderer that the one if its notifications has closed.
35 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose, 35 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose,
36 int /* notification_id */, 36 int /* notification_id */,
37 bool /* by_user */) 37 bool /* by_user */)
38 38
39 // Informs the renderer that one of its notifications was clicked on. 39 // Informs the renderer that one of its notifications was clicked on.
40 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostClick, 40 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostClick,
41 int /* notification_id */) 41 int /* notification_id */)
42 42
43 // Informs the renderer that the one if its notifications has closed.
44 IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PermissionRequestDone,
45 int /* request_id */)
46
47 // Messages sent from the renderer to the browser. 43 // Messages sent from the renderer to the browser.
48 44
49 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_Show, 45 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_Show,
50 int /* notification_id */, 46 int /* notification_id */,
51 content::ShowDesktopNotificationHostMsgParams /* params */) 47 content::ShowDesktopNotificationHostMsgParams /* params */)
52 48
53 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel, 49 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel,
54 int /* notification_id */) 50 int /* notification_id */)
55 51
56 IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_RequestPermission,
57 GURL /* origin */,
58 int /* callback_context */)
59
60 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission, 52 IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission,
61 GURL /* origin */, 53 GURL /* origin */,
62 int /* permission_result */) 54 int /* permission_result */)
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/renderer/active_notification_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698