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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.idl

Issue 2380383003: Use sequence<T> instead of T[] where possible and document exceptions (Closed)
Patch Set: more Created 4 years, 2 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/core/clipboard/DataTransfer.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
index 7b56519ba4f2981eb845ba38906059932823150f..7f5d90aa20f086be24905610dbf0a47a3a4b4f15 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
@@ -37,6 +37,8 @@ interface DataTransfer {
void setDragImage(Element image, long x, long y);
/* old interface */
+ // TODO(foolip): Switch to FrozenArray<DOMString> when the spec is fixed:
+ // https://github.com/whatwg/html/issues/11
[SameObject] readonly attribute DOMString[] types;
DOMString getData(DOMString format);
void setData(DOMString format, DOMString data);

Powered by Google App Engine
This is Rietveld 408576698