| Index: third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
|
| diff --git a/chrome/common/image_decoder.mojom b/third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
|
| similarity index 50%
|
| copy from chrome/common/image_decoder.mojom
|
| copy to third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
|
| index 325f0369b6cf657746b9e4580e65b97c7ec4cd85..dfa4461197b2fd24e1f2b0ccdbaed9903257eec1 100644
|
| --- a/chrome/common/image_decoder.mojom
|
| +++ b/third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
|
| @@ -2,17 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -module mojom;
|
| +module blink.mojom;
|
|
|
| import "third_party/WebKit/public/platform/bitmap.mojom";
|
|
|
| -enum ImageCodec {
|
| - DEFAULT,
|
| - ROBUST_JPEG,
|
| - ROBUST_PNG,
|
| -};
|
| -
|
| -interface ImageDecoder {
|
| - DecodeImage(array<uint8> encoded_data, ImageCodec codec, bool shrink_to_fit)
|
| - => (blink.mojom.Bitmap? decoded_image);
|
| +// Structure representing the resources associated with a Web Notification.
|
| +struct NotificationResources {
|
| + Bitmap icon;
|
| + Bitmap badge;
|
| + array<Bitmap> action_icons;
|
| };
|
|
|