OLD | NEW |
1 #library('dom'); | 1 #library('dom'); |
2 | 2 |
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 // DO NOT EDIT | 7 // DO NOT EDIT |
8 // Auto-generated Dart DOM library. | 8 // Auto-generated Dart DOM library. |
9 | 9 |
10 | 10 |
(...skipping 5671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5682 int get column() native "return this.column;"; | 5682 int get column() native "return this.column;"; |
5683 | 5683 |
5684 String get functionName() native "return this.functionName;"; | 5684 String get functionName() native "return this.functionName;"; |
5685 | 5685 |
5686 int get line() native "return this.line;"; | 5686 int get line() native "return this.line;"; |
5687 | 5687 |
5688 List get scopeChain() native "return this.scopeChain;"; | 5688 List get scopeChain() native "return this.scopeChain;"; |
5689 | 5689 |
5690 int get sourceID() native "return this.sourceID;"; | 5690 int get sourceID() native "return this.sourceID;"; |
5691 | 5691 |
| 5692 Object get thisObject() native "return this.thisObject;"; |
| 5693 |
5692 String get type() native "return this.type;"; | 5694 String get type() native "return this.type;"; |
5693 | 5695 |
5694 void evaluate(String script) native; | 5696 void evaluate(String script) native; |
5695 | 5697 |
5696 int scopeType(int scopeIndex) native; | 5698 int scopeType(int scopeIndex) native; |
5697 } | 5699 } |
5698 | 5700 |
5699 class KeyboardEventJs extends UIEventJs implements KeyboardEvent native "*Keyboa
rdEvent" { | 5701 class KeyboardEventJs extends UIEventJs implements KeyboardEvent native "*Keyboa
rdEvent" { |
5700 | 5702 |
5701 bool get altGraphKey() native "return this.altGraphKey;"; | 5703 bool get altGraphKey() native "return this.altGraphKey;"; |
(...skipping 7136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12838 static final int OPENED = 1; | 12840 static final int OPENED = 1; |
12839 | 12841 |
12840 static final int UNSENT = 0; | 12842 static final int UNSENT = 0; |
12841 | 12843 |
12842 bool get asBlob() native "return this.asBlob;"; | 12844 bool get asBlob() native "return this.asBlob;"; |
12843 | 12845 |
12844 void set asBlob(bool value) native "this.asBlob = value;"; | 12846 void set asBlob(bool value) native "this.asBlob = value;"; |
12845 | 12847 |
12846 int get readyState() native "return this.readyState;"; | 12848 int get readyState() native "return this.readyState;"; |
12847 | 12849 |
| 12850 Object get response() native "return this.response;"; |
| 12851 |
12848 BlobJs get responseBlob() native "return this.responseBlob;"; | 12852 BlobJs get responseBlob() native "return this.responseBlob;"; |
12849 | 12853 |
12850 String get responseText() native "return this.responseText;"; | 12854 String get responseText() native "return this.responseText;"; |
12851 | 12855 |
12852 String get responseType() native "return this.responseType;"; | 12856 String get responseType() native "return this.responseType;"; |
12853 | 12857 |
12854 void set responseType(String value) native "this.responseType = value;"; | 12858 void set responseType(String value) native "this.responseType = value;"; |
12855 | 12859 |
12856 DocumentJs get responseXML() native "return this.responseXML;"; | 12860 DocumentJs get responseXML() native "return this.responseXML;"; |
12857 | 12861 |
(...skipping 6460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19318 int get column(); | 19322 int get column(); |
19319 | 19323 |
19320 String get functionName(); | 19324 String get functionName(); |
19321 | 19325 |
19322 int get line(); | 19326 int get line(); |
19323 | 19327 |
19324 List get scopeChain(); | 19328 List get scopeChain(); |
19325 | 19329 |
19326 int get sourceID(); | 19330 int get sourceID(); |
19327 | 19331 |
| 19332 Object get thisObject(); |
| 19333 |
19328 String get type(); | 19334 String get type(); |
19329 | 19335 |
19330 void evaluate(String script); | 19336 void evaluate(String script); |
19331 | 19337 |
19332 int scopeType(int scopeIndex); | 19338 int scopeType(int scopeIndex); |
19333 } | 19339 } |
19334 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 19340 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
19335 // for details. All rights reserved. Use of this source code is governed by a | 19341 // for details. All rights reserved. Use of this source code is governed by a |
19336 // BSD-style license that can be found in the LICENSE file. | 19342 // BSD-style license that can be found in the LICENSE file. |
19337 | 19343 |
(...skipping 6454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25792 static final int OPENED = 1; | 25798 static final int OPENED = 1; |
25793 | 25799 |
25794 static final int UNSENT = 0; | 25800 static final int UNSENT = 0; |
25795 | 25801 |
25796 bool get asBlob(); | 25802 bool get asBlob(); |
25797 | 25803 |
25798 void set asBlob(bool value); | 25804 void set asBlob(bool value); |
25799 | 25805 |
25800 int get readyState(); | 25806 int get readyState(); |
25801 | 25807 |
| 25808 Object get response(); |
| 25809 |
25802 Blob get responseBlob(); | 25810 Blob get responseBlob(); |
25803 | 25811 |
25804 String get responseText(); | 25812 String get responseText(); |
25805 | 25813 |
25806 String get responseType(); | 25814 String get responseType(); |
25807 | 25815 |
25808 void set responseType(String value); | 25816 void set responseType(String value); |
25809 | 25817 |
25810 Document get responseXML(); | 25818 Document get responseXML(); |
25811 | 25819 |
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
26854 if (length < 0) throw new IllegalArgumentException('length'); | 26862 if (length < 0) throw new IllegalArgumentException('length'); |
26855 if (start < 0) throw new IndexOutOfRangeException(start); | 26863 if (start < 0) throw new IndexOutOfRangeException(start); |
26856 int end = start + length; | 26864 int end = start + length; |
26857 if (end > a.length) throw new IndexOutOfRangeException(end); | 26865 if (end > a.length) throw new IndexOutOfRangeException(end); |
26858 for (int i = start; i < end; i++) { | 26866 for (int i = start; i < end; i++) { |
26859 accumulator.add(a[i]); | 26867 accumulator.add(a[i]); |
26860 } | 26868 } |
26861 return accumulator; | 26869 return accumulator; |
26862 } | 26870 } |
26863 } | 26871 } |
OLD | NEW |