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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 104503007: Fixing DataTransferItemList List<> behavior (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 29a417ad3c74a7c287a970a80822a308d7bde81f..a1e9e52a99d9be589ee140b16819ea086200d137 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -6894,12 +6894,10 @@ class DataTransferItem extends NativeFieldWrapperClass2 {
Entry getAsEntry() native "DataTransferItem_webkitGetAsEntry_Callback";
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
@DocsEditable()
@DomName('DataTransferItemList')
@@ -6949,6 +6947,11 @@ class DataTransferItemList extends NativeFieldWrapperClass2 {
@Experimental() // untriaged
void remove(int index) native "DataTransferItemList_remove_Callback";
+
+ DataTransferItem operator[] (int index) {
+ return __getter__(index);
+ }
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698