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

Unified Diff: core/dom/DataTransferItemList.idl

Issue 23534036: Roll IDL files forward (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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 | « core/dom/DOMImplementation.idl ('k') | core/dom/Document.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/DataTransferItemList.idl
diff --git a/core/dom/DataTransferItemList.idl b/core/dom/DataTransferItemList.idl
index eec5c0c50202c52caf2fdc7ac6b23f219f6c68e1..0babe031c24c2c1fa04e11331873091ba16e37c9 100644
--- a/core/dom/DataTransferItemList.idl
+++ b/core/dom/DataTransferItemList.idl
@@ -28,15 +28,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface DataTransferItemList {
+interface DataTransferItemList {
readonly attribute long length;
- getter DataTransferItem item([Default=Undefined] optional unsigned long index);
+ [ImplementedAs=item] getter DataTransferItem (unsigned long index);
+ [RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
void clear();
- void add(File? file);
- [RaisesException] void add([Default=Undefined] optional DOMString data,
- [Default=Undefined] optional DOMString type);
+ DataTransferItem add(File? file);
+ [RaisesException] DataTransferItem add(DOMString data, DOMString type);
};
« no previous file with comments | « core/dom/DOMImplementation.idl ('k') | core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698