| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 // https://mediasession.spec.whatwg.org/ | 5 // https://wicg.github.io/mediasession/#the-mediaimage-interface |
| 6 // https://github.com/whatwg/mediasession/pull/129 (spec proposal for artwork) | |
| 7 | 6 |
| 8 [ | 7 [ |
| 9 ConstructorCallWith=ExecutionContext, | 8 ConstructorCallWith=ExecutionContext, |
| 10 Constructor(MediaArtworkInit artwork), | 9 Constructor(MediaImageInit image), |
| 11 RuntimeEnabled=MediaSession, | 10 RuntimeEnabled=MediaSession, |
| 12 ] interface MediaArtwork { | 11 ] interface MediaImage { |
| 13 readonly attribute USVString src; | 12 readonly attribute USVString src; |
| 14 readonly attribute DOMString sizes; | 13 readonly attribute DOMString sizes; |
| 15 readonly attribute DOMString type; | 14 readonly attribute DOMString type; |
| 16 }; | 15 }; |
| OLD | NEW |