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

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: apply spec changes and comments 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..cce62b5865be71adb177bb5406eb7360463fcbff 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 {
+ USVString src;
Zhiqiang Zhang (Slow) 2017/01/05 16:03:07 +required?
mlamouri (slow - plz ping) 2017/01/05 19:28:22 Done.
+ DOMString sizes;
Zhiqiang Zhang (Slow) 2017/01/05 16:03:07 = "" ?
mlamouri (slow - plz ping) 2017/01/05 19:28:22 Done.
+ DOMString type;
Zhiqiang Zhang (Slow) 2017/01/05 16:03:07 = "" ?
mlamouri (slow - plz ping) 2017/01/05 19:28:22 Done.
};

Powered by Google App Engine
This is Rietveld 408576698