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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/interfaces/html.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 unified diff | Download patch
OLDNEW
1 // HTML IDLs 1 // HTML IDLs
2 typedef (Int8Array or Uint8Array or Uint8ClampedArray or 2 typedef (Int8Array or Uint8Array or Uint8ClampedArray or
3 Int16Array or Uint16Array or 3 Int16Array or Uint16Array or
4 Int32Array or Uint32Array or 4 Int32Array or Uint32Array or
5 Float32Array or Float64Array or 5 Float32Array or Float64Array or
6 DataView) ArrayBufferView; 6 DataView) ArrayBufferView;
7 7
8 [NoInterfaceObject, Exposed=Window] 8 [NoInterfaceObject, Exposed=Window]
9 interface HTMLHyperlinkElementUtils { 9 interface HTMLHyperlinkElementUtils {
10 stringifier attribute USVString href; 10 stringifier attribute USVString href;
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 1319
1320 interface DataTransfer { 1320 interface DataTransfer {
1321 attribute DOMString dropEffect; 1321 attribute DOMString dropEffect;
1322 attribute DOMString effectAllowed; 1322 attribute DOMString effectAllowed;
1323 1323
1324 readonly attribute DataTransferItemList items; 1324 readonly attribute DataTransferItemList items;
1325 1325
1326 void setDragImage(Element image, long x, long y); 1326 void setDragImage(Element image, long x, long y);
1327 1327
1328 /* old interface */ 1328 /* old interface */
1329 readonly attribute DOMString[] types; 1329 readonly attribute FrozenArray<DOMString> types;
1330 DOMString getData(DOMString format); 1330 DOMString getData(DOMString format);
1331 void setData(DOMString format, DOMString data); 1331 void setData(DOMString format, DOMString data);
1332 void clearData(optional DOMString format); 1332 void clearData(optional DOMString format);
1333 readonly attribute FileList files; 1333 readonly attribute FileList files;
1334 }; 1334 };
1335 1335
1336 interface DataTransferItemList { 1336 interface DataTransferItemList {
1337 readonly attribute unsigned long length; 1337 readonly attribute unsigned long length;
1338 getter DataTransferItem (unsigned long index); 1338 getter DataTransferItem (unsigned long index);
1339 DataTransferItem? add(DOMString data, DOMString type); 1339 DataTransferItem? add(DOMString data, DOMString type);
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 void captureEvents(); 2280 void captureEvents();
2281 void releaseEvents(); 2281 void releaseEvents();
2282 2282
2283 readonly attribute HTMLAllCollection all; 2283 readonly attribute HTMLAllCollection all;
2284 }; 2284 };
2285 2285
2286 partial interface Window { 2286 partial interface Window {
2287 void captureEvents(); 2287 void captureEvents();
2288 void releaseEvents(); 2288 void releaseEvents();
2289 }; 2289 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698