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

Side by Side Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.idl

Issue 1481983002: Drop [LegacyInterfaceTypeChecking] where trivial in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests Created 5 years 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 // https://html.spec.whatwg.org/#the-datatransfer-interface 29 // https://html.spec.whatwg.org/#the-datatransfer-interface
30 30
31 [ 31 [
32 GarbageCollected 32 GarbageCollected
33 ] interface DataTransfer { 33 ] interface DataTransfer {
34 attribute DOMString dropEffect; 34 attribute DOMString dropEffect;
35 attribute DOMString effectAllowed; 35 attribute DOMString effectAllowed;
36 36
37 [SameObject] readonly attribute DataTransferItemList items; 37 [SameObject] readonly attribute DataTransferItemList items;
38 38
39 [RaisesException, LegacyInterfaceTypeChecking] void setDragImage(Element ima ge, long x, long y); 39 void setDragImage(Element image, long x, long y);
40 40
41 /* old interface */ 41 /* old interface */
42 [SameObject] readonly attribute DOMString[] types; 42 [SameObject] readonly attribute DOMString[] types;
43 DOMString getData(DOMString format); 43 DOMString getData(DOMString format);
44 void setData(DOMString format, DOMString data); 44 void setData(DOMString format, DOMString data);
45 void clearData(optional DOMString format); 45 void clearData(optional DOMString format);
46 [SameObject] readonly attribute FileList files; 46 [SameObject] readonly attribute FileList files;
47 }; 47 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.cpp ('k') | third_party/WebKit/Source/core/css/FontFaceSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698