Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 }; |
| OLD | NEW |