OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef WebMediaMetadata_h | 5 #ifndef WebMediaMetadata_h |
6 #define WebMediaMetadata_h | 6 #define WebMediaMetadata_h |
7 | 7 |
8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
9 #include "public/platform/WebVector.h" | |
10 #include "public/platform/modules/mediasession/WebMediaArtwork.h" | |
9 | 11 |
10 namespace blink { | 12 namespace blink { |
11 | 13 |
12 // Representation of the MediaMetadata interface to the content layer. | 14 // Representation of the MediaMetadata interface to the content layer. |
13 struct WebMediaMetadata { | 15 struct WebMediaMetadata { |
14 WebString title; | 16 WebString title; |
15 WebString artist; | 17 WebString artist; |
16 WebString album; | 18 WebString album; |
19 WebVector<WebMediaArtwork> artworks; | |
mlamouri (slow - plz ping)
2016/06/08 13:06:18
nit: rename to `artwork` following the spec change
Zhiqiang Zhang (Slow)
2016/06/09 15:30:13
Done.
| |
17 }; | 20 }; |
18 | 21 |
19 } // namespace blink | 22 } // namespace blink |
20 | 23 |
21 #endif // WebMediaMetadata_h | 24 #endif // WebMediaMetadata_h |
OLD | NEW |