| Index: components/arc/common/notifications.mojom
|
| diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom
|
| index 22ebb8fc1363ce067c8fba4e5bbda333002e45fc..0bba915874e2144dcf81eeec6b39d5bba10d08af 100644
|
| --- a/components/arc/common/notifications.mojom
|
| +++ b/components/arc/common/notifications.mojom
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| //
|
| -// Next MinVersion: 7
|
| +// Next MinVersion: 8
|
|
|
| module arc.mojom;
|
|
|
| @@ -77,6 +77,11 @@ struct ArcNotificationData {
|
| bool use_custom_notification;
|
| [MinVersion=6]
|
| ArcBitmap? small_icon;
|
| + // A snapshot image to show before the notification window is created.
|
| + [MinVersion=7]
|
| + ArcBitmap? snapshot_image;
|
| + [MinVersion=7]
|
| + float snapshot_image_scale;
|
| };
|
|
|
| [MinVersion=2]
|
| @@ -121,4 +126,12 @@ interface NotificationsInstance {
|
| // Sends an event from Chrome notification UI to Android.
|
| // |event| is a type of occured event.
|
| SendNotificationEventToAndroid@1(string key, ArcNotificationEvent event);
|
| +
|
| + // Requests to Android side to create the notification window.
|
| + [MinVersion=7]
|
| + CreateNotificationWindow@2(string key);
|
| +
|
| + // Requests to Android side to close the notification window.
|
| + [MinVersion=7]
|
| + CloseNotificationWindow@3(string key);
|
| };
|
|
|