Index: content/public/common/platform_notification_data.h |
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h |
index 12f4eee9797daa856d5ec8fef4835c6f16e66ee0..a1440b51c475cdff1d46beb753286bc51fe55d31 100644 |
--- a/content/public/common/platform_notification_data.h |
+++ b/content/public/common/platform_notification_data.h |
@@ -14,6 +14,15 @@ |
namespace content { |
+// Maximum number of actions on a Platform Notification. |
Peter Beverloo
2015/10/22 11:33:39
nit: s/Platform Notification/platform notification
|
+static const size_t kPlatformNotificationMaxActions = 2; |
+ |
+// When a notification is clicked, passing this value for |actionIndex| |
Peter Beverloo
2015/10/22 11:33:39
Referring to specific arguments has little meaning
|
+// indicates that the main body of the notification was clicked, rather than an |
+// action button. Must be kept in sync with |
+// NotificationUIManager.CLICK_WAS_NOT_AN_ACTION. |
+static const int kNotificationClickWasNotAnAction = -1; |
Peter Beverloo
2015/10/22 11:33:39
kInvalidNotificationAction?
kNoNotificationAction?
|
+ |
// A notification action (button); corresponds to Blink WebNotificationAction. |
struct CONTENT_EXPORT PlatformNotificationAction { |
PlatformNotificationAction(); |