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

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

Issue 2875013002: DataTransfer: Make |types| be a FrozenArray<DOMString>. (Closed)
Patch Set: Fix win_chromium_compile_dbg_ng Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71ab1f72c672d5f180e5a4c8277d7260dedf7d5b..29aad5d81f5a251ac4682971bcb32d9ea9541427 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
@@ -39,9 +39,7 @@
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;
+ [CachedAttribute=hasDataStoreItemListChanged] readonly attribute FrozenArray<DOMString> types;
DOMString getData(DOMString format);
void setData(DOMString format, DOMString data);
void clearData(optional DOMString format);
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698