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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl

Issue 2013813002: Implement MediaMetadata artwork in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed the copy of WebMediaMetadata from MediaMetadata 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 side-by-side diff with in-line comments
Download patch
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;
+};

Powered by Google App Engine
This is Rietveld 408576698