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

Unified Diff: Source/core/dom/DataTransferItemList.idl

Issue 22837006: Have DataTransferItemList.add() methods return the added item (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/core/dom/DataTransferItemList.h ('k') | Source/core/platform/chromium/ChromiumDataObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DataTransferItemList.idl
diff --git a/Source/core/dom/DataTransferItemList.idl b/Source/core/dom/DataTransferItemList.idl
index ac2a524eb6b574d7433fd6377ee290a37a70c70a..0babe031c24c2c1fa04e11331873091ba16e37c9 100644
--- a/Source/core/dom/DataTransferItemList.idl
+++ b/Source/core/dom/DataTransferItemList.idl
@@ -34,7 +34,7 @@ interface DataTransferItemList {
[RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
void clear();
- void add(File? file);
- [RaisesException] void add(DOMString data, DOMString type);
+ DataTransferItem add(File? file);
+ [RaisesException] DataTransferItem add(DOMString data, DOMString type);
};
« no previous file with comments | « Source/core/dom/DataTransferItemList.h ('k') | Source/core/platform/chromium/ChromiumDataObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698