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

Unified Diff: content/common/platform_notification_messages.h

Issue 681783004: Implement the PageNotificationDelegate for the new Web Notification path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/Ids/ids/ 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 a7ebe53caf8f31e4047234f3264dc7080d7d249f..e66547a555031f963c8205a6341abce9d9a9b642 100644
--- a/content/common/platform_notification_messages.h
+++ b/content/common/platform_notification_messages.h
@@ -23,6 +23,22 @@ IPC_MESSAGE_ROUTED2(PlatformNotificationMsg_PermissionRequestComplete,
int /* request_id */,
blink::WebNotificationPermission /* result */)
+// Informs the renderer that the browser has displayed the notification.
+IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow,
+ int /* notification_id */)
+
+// Informs the renderer that the notification could not be displayed.
+IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidError,
+ int /* notification_id */)
+
+// Informs the renderer that the notification has been closed.
+IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClose,
+ int /* notification_id */)
+
+// Informs the renderer that the notification has been clicked on.
+IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClick,
+ int /* notification_id */)
+
// Messages sent from the renderer to the browser.
// Requests permission to display platform notifications for |origin|.
« 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