OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module blink.mojom; |
| 6 |
| 7 import "mojo/common/common_custom_types.mojom"; |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 import "url/mojo/url.mojom"; |
| 10 |
| 11 struct MediaMetadataIcon { |
| 12 url.mojom.Url src; |
| 13 mojo.common.mojom.String16 type; |
| 14 array<gfx.mojom.Size> sizes; |
| 15 }; |
| 16 |
| 17 struct MediaMetadata { |
| 18 mojo.common.mojom.String16 title; |
| 19 mojo.common.mojom.String16 artist; |
| 20 mojo.common.mojom.String16 album; |
| 21 array<MediaMetadataIcon> artwork; |
| 22 }; |
| 23 |
| 24 interface MediaSessionService { |
| 25 SetMetadata(MediaMetadata? metadata); |
| 26 }; |
OLD | NEW |