Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: third_party/WebKit/public/platform/modules/mediasession/media_session.mojom

Issue 2367393002: Migrating MediaSession messages to mojo (Closed)
Patch Set: fixed layout tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // Album art in MediaMetadata
12 // Spec: https://wicg.github.io/mediasession/
13 struct MediaImage {
14 url.mojom.Url src;
15 mojo.common.mojom.String16 type;
16 array<gfx.mojom.Size> sizes;
17 };
18
19 // MediaMetadata
20 // Spec: https://wicg.github.io/mediasession/
21 struct MediaMetadata {
22 mojo.common.mojom.String16 title;
23 mojo.common.mojom.String16 artist;
24 mojo.common.mojom.String16 album;
25 array<MediaImage> artwork;
26 };
27
28 interface MediaSessionService {
29 SetMetadata(MediaMetadata? metadata);
30 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698