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

Unified Diff: core/clipboard/DataTransferItemList.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/clipboard/DataTransferItem.idl ('k') | core/css/CSS.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/clipboard/DataTransferItemList.idl
diff --git a/core/clipboard/DataTransferItemList.idl b/core/clipboard/DataTransferItemList.idl
index 7bdf22c9cf8216ab1c16daefa4460b1af06ef5da..4349174637acca939b54664edcff0529c5788bb9 100644
--- a/core/clipboard/DataTransferItemList.idl
+++ b/core/clipboard/DataTransferItemList.idl
@@ -28,17 +28,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#datatransferitemlist
+// https://html.spec.whatwg.org/#the-datatransferitemlist-interface
[
TypeChecking=Interface,
- WillBeGarbageCollected,
+ GarbageCollected,
] interface DataTransferItemList {
- readonly attribute long length;
+ readonly attribute unsigned long length;
[ImplementedAs=item] getter DataTransferItem (unsigned long index);
-
- [RaisesException] DataTransferItem add(DOMString data, DOMString type);
- DataTransferItem add(File? file);
+ [RaisesException] DataTransferItem? add(DOMString data, DOMString type);
+ // TODO(philipj): The file argument should not be nullable.
+ DataTransferItem? add(File? file);
[RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
void clear();
};
« no previous file with comments | « core/clipboard/DataTransferItem.idl ('k') | core/css/CSS.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698