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

Side by Side Diff: third_party/WebKit/Source/modules/mediasession/MediaImage.idl

Issue 2612003002: Media Session: use dictionary instead of an interface for MediaImage. (Closed)
Patch Set: rebase and remove one more file Created 3 years, 11 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
Zhiqiang Zhang (Slow) 2017/01/04 16:05:24 nit: Maybe we could merge it into MediaMetadata.id
mlamouri (slow - plz ping) 2017/01/05 15:40:19 In modules_idl_files, we list this file as a dicti
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO: update link
5 // https://wicg.github.io/mediasession/#the-mediaimage-interface 6 // https://wicg.github.io/mediasession/#the-mediaimage-interface
6 7
7 [ 8 dictionary MediaImage {
8 ConstructorCallWith=ExecutionContext, 9 USVString src;
9 Constructor(MediaImageInit image), 10 DOMString sizes;
10 RuntimeEnabled=MediaSession, 11 DOMString type;
11 ] interface MediaImage {
12 readonly attribute USVString src;
13 readonly attribute DOMString sizes;
14 readonly attribute DOMString type;
15 }; 12 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698