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

Unified Diff: content/common/platform_notification_messages.h

Issue 644643005: Implement a RenderFrame-less path for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add OWNERS file Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/platform_notification_messages.h
diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
index 0745b88e4dd14a54ee88aff3f73df81f878063f2..a7ebe53caf8f31e4047234f3264dc7080d7d249f 100644
--- a/content/common/platform_notification_messages.h
+++ b/content/common/platform_notification_messages.h
@@ -5,6 +5,7 @@
// Messages for platform-native notifications using the Web Notification API.
// Multiply-included message file, hence no include guard.
+#include "content/public/common/show_desktop_notification_params.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/WebKit/public/platform/WebNotificationPermission.h"
#include "url/gurl.h"
@@ -28,3 +29,14 @@ IPC_MESSAGE_ROUTED2(PlatformNotificationMsg_PermissionRequestComplete,
IPC_MESSAGE_ROUTED2(PlatformNotificationHostMsg_RequestPermission,
GURL /* origin */,
int /* request_id */)
+
+IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_Show,
+ int /* notification_id */,
+ content::ShowDesktopNotificationHostMsgParams /* params */)
+
+IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
+ int /* notification_id */)
+
+IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
+ GURL /* origin */,
+ blink::WebNotificationPermission /* result */)
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698