Chromium Code Reviews| Index: third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl |
| diff --git a/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl b/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..edad4ef160b13a9cba91e899daa613ce7c30b270 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl |
| @@ -0,0 +1,15 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// TODO(zqzhang): add link to the spec. |
|
haraken
2016/06/09 11:17:44
Don't we have a spec yet?
Zhiqiang Zhang (Slow)
2016/06/09 15:30:13
Added link to the spec change proposal.
|
| + |
| +[ |
| + ConstructorCallWith=ExecutionContext, |
| + Constructor(MediaArtworkInit artwork), |
| + RuntimeEnabled=MediaSession, |
| +] interface MediaArtwork { |
| + readonly attribute DOMString src; |
| + readonly attribute DOMString sizes; |
| + readonly attribute DOMString type; |
| +}; |