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

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

Issue 982313002: Closing a persistent notification should be aware of the origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/common/platform_notification_data.h" 8 #include "content/public/common/platform_notification_data.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onPermission.h" 10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onPermission.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 IPC_MESSAGE_CONTROL4(PlatformNotificationHostMsg_ShowPersistent, 53 IPC_MESSAGE_CONTROL4(PlatformNotificationHostMsg_ShowPersistent,
54 int64 /* service_worker_provider_id */, 54 int64 /* service_worker_provider_id */,
55 GURL /* origin */, 55 GURL /* origin */,
56 SkBitmap /* icon */, 56 SkBitmap /* icon */,
57 content::PlatformNotificationData /* notification_data */) 57 content::PlatformNotificationData /* notification_data */)
58 58
59 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, 59 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
60 int /* notification_id */) 60 int /* notification_id */)
61 61
62 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_ClosePersistent, 62 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
63 GURL /* origin */,
63 std::string /* persistent_notification_id */) 64 std::string /* persistent_notification_id */)
64 65
65 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, 66 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
66 GURL /* origin */, 67 GURL /* origin */,
67 blink::WebNotificationPermission /* result */) 68 blink::WebNotificationPermission /* result */)
OLDNEW
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698