| Index: components/arc/common/notifications.mojom
|
| diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom
|
| index 8425748124f250618c5e66086984e4c12b426ec3..023b3ddab7ea05c4167df561fae65faced073840 100644
|
| --- a/components/arc/common/notifications.mojom
|
| +++ b/components/arc/common/notifications.mojom
|
| @@ -4,6 +4,8 @@
|
|
|
| module arc.mojom;
|
|
|
| +import "bitmap.mojom";
|
| +
|
| // These values must be matched with the NOTIFICATION_EVENT_* constants in
|
| // com.android.server.ArcNotificationListenerService.
|
| enum ArcNotificationEvent {
|
| @@ -15,7 +17,6 @@ enum ArcNotificationEvent {
|
| BUTTON_3_CLICKED = 4,
|
| BUTTON_4_CLICKED = 5,
|
| BUTTON_5_CLICKED = 6,
|
| - MAX = BUTTON_5_CLICKED
|
| };
|
|
|
| // These values must be matched with the NOTIFICATION_TYPE_* constants in
|
| @@ -24,7 +25,7 @@ enum ArcNotificationType {
|
| BASIC = 0,
|
| IMAGE = 1,
|
| PROGRESS = 2,
|
| - MAX = PROGRESS
|
| + LIST = 3,
|
| };
|
|
|
| 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]
|
| + ArcBitmap? big_picture;
|
| };
|
|
|
| [MinVersion=2]
|
|
|