Chromium Code Reviews| Index: components/arc/common/notifications.mojom |
| diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom |
| index 068a08454cb382fba73b3f06f35b9c5bb9856c20..8a1f05ad313ec968196e7f70726a7c960616e126 100644 |
| --- a/components/arc/common/notifications.mojom |
| +++ b/components/arc/common/notifications.mojom |
| @@ -24,7 +24,8 @@ enum ArcNotificationType { |
| BASIC = 0, |
| IMAGE = 1, |
| PROGRESS = 2, |
| - MAX = PROGRESS |
| + LIST = 3, |
| + MAX = LIST |
|
dcheng
2016/04/13 23:55:20
I don't think MAX serves a purpose in mojo
yoshiki
2016/04/15 00:32:34
Done.
|
| }; |
| struct ArcNotificationButton { |
| @@ -61,6 +62,12 @@ struct ArcNotificationData { |
| // Flag if the notification has FLAG_ONGOING_EVENT. |
| [MinVersion=1] |
| bool ongoing_event; |
| + // Subtexts for list notifications. |
| + [MinVersion=3] |
| + array<string>? texts; |
| + // Image for image notifications. |
| + [MinVersion=3] |
| + ArcNotificationBitmap? big_picture; |
| }; |
| [MinVersion=2] |
| @@ -73,6 +80,13 @@ struct ArcToastData { |
| int32 duration; |
| }; |
| +[MinVersion=3] |
| +struct ArcNotificationBitmap { |
| + uint32 width; |
| + uint32 height; |
| + array<uint8> pixel_data; |
| +}; |
| + |
| interface NotificationsHost { |
| // Tells the Chrome that a notification is posted (created or updated) on |
| // Android. |