Chromium Code Reviews| 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.NullableString16 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 Activate(uint64 session_id) => (bool success); | |
| 26 Deactivate(uint64 session_id) => (); | |
|
mlamouri (slow - plz ping)
2016/09/27 08:33:11
Do we need Activate/Deactivate?
| |
| 27 SetMetadata(uint64 session_id, MediaMetadata? metadata); | |
| 28 }; | |
| OLD | NEW |