Commit b71da2ff authored by nancylingwang's avatar nancylingwang Committed by Commit Bot

Modify intent mojom to support the adaptive icon.

This is the preparing for CL:2305816. Add RawIconPngData to fetch the
foreground and background icon images.

BUG=1083331

Change-Id: I16112cebffc0296852c585c05b9047ce5926dcd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2307010Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790654}
parent c89d4d25
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// //
// Next MinVersion: 40 // Next MinVersion: 41
module arc.mojom; module arc.mojom;
import "components/arc/mojom/app.mojom";
import "components/arc/mojom/bitmap.mojom"; import "components/arc/mojom/bitmap.mojom";
import "components/arc/mojom/camera_intent.mojom"; import "components/arc/mojom/camera_intent.mojom";
import "components/arc/mojom/intent_common.mojom"; import "components/arc/mojom/intent_common.mojom";
...@@ -107,6 +108,7 @@ struct ActivityIcon { ...@@ -107,6 +108,7 @@ struct ActivityIcon {
uint32 width; // in px uint32 width; // in px
uint32 height; // in px uint32 height; // in px
array<uint8> icon; // in BGRA8888 format array<uint8> icon; // in BGRA8888 format
[MinVersion=40] RawIconPngData? icon_png_data;
}; };
// URL associated with its mime type. // URL associated with its mime type.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment