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

Side by Side Diff: third_party/WebKit/public/platform/modules/mediasession/WebMediaMetadata.h

Issue 2013813002: Implement MediaMetadata artwork in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed tests Created 4 years, 6 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 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/modules/mediasession/WebMediaArtwork.h"
10 #include "wtf/Vector.h"
mlamouri (slow - plz ping) 2016/05/31 16:41:50 public/platform/WebVector.h instead?
Zhiqiang Zhang (Slow) 2016/06/01 19:40:57 Done.
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 {
16 public:
14 WebString title; 17 WebString title;
15 WebString artist; 18 WebString artist;
16 WebString album; 19 WebString album;
20 WebVector<WebMediaArtwork> artworks;
17 }; 21 };
18 22
19 } // namespace blink 23 } // namespace blink
20 24
21 #endif // WebMediaMetadata_h 25 #endif // WebMediaMetadata_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698