Index: content/common/platform_notification_messages.h |
diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h |
index 90445284f8a588ce28b8dc8b39b5a2164495a8df..f186b34895ee14e38e715878723dbb142489a096 100644 |
--- a/content/common/platform_notification_messages.h |
+++ b/content/common/platform_notification_messages.h |
@@ -63,9 +63,12 @@ IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow, |
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 */) |
+// Informs the renderer that the notification or one of its actions have been |
+// clicked on. |action_index| is the index of the action, or -1 if the main body |
+// of the notification was clicked. |
+IPC_MESSAGE_CONTROL2(PlatformNotificationMsg_DidClick, |
+ int /* notification_id */, |
+ int /* action_index */) |
// Reply to PlatformNotificationHostMsg_ShowPersistent indicating that a |
// persistent notification has been shown on the platform (if |success| is |