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

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

Issue 2612003002: Media Session: use dictionary instead of an interface for MediaImage. (Closed)
Patch Set: rebase Created 3 years, 11 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/MediaImage.idl
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaImage.idl b/third_party/WebKit/Source/modules/mediasession/MediaImage.idl
index fd33ba78bdc9692238d79bea4f41e1602b601f35..ef4703a1da63cfa0b58910965f03e5d64f58c73d 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaImage.idl
+++ b/third_party/WebKit/Source/modules/mediasession/MediaImage.idl
@@ -2,14 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://wicg.github.io/mediasession/#the-mediaimage-interface
+// https://wicg.github.io/mediasession/#dictdef-mediaimage
-[
- ConstructorCallWith=ExecutionContext,
- Constructor(MediaImageInit image),
- RuntimeEnabled=MediaSession,
-] interface MediaImage {
- readonly attribute USVString src;
- readonly attribute DOMString sizes;
- readonly attribute DOMString type;
+dictionary MediaImage {
+ required USVString src;
+ DOMString sizes = "";
+ DOMString type = "";
};

Powered by Google App Engine
This is Rietveld 408576698