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

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10689052: Revert "Blob constructor" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11920 matching lines...) Expand 10 before | Expand all | Expand 10 after
11931 void setParameter(String namespaceURI, String localName, String value) native; 11931 void setParameter(String namespaceURI, String localName, String value) native;
11932 11932
11933 _DocumentJs transformToDocument(_NodeJs source) native; 11933 _DocumentJs transformToDocument(_NodeJs source) native;
11934 11934
11935 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na tive; 11935 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na tive;
11936 } 11936 }
11937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11938 // for details. All rights reserved. Use of this source code is governed by a 11938 // for details. All rights reserved. Use of this source code is governed by a
11939 // BSD-style license that can be found in the LICENSE file. 11939 // BSD-style license that can be found in the LICENSE file.
11940 11940
11941 class _BlobFactoryProvider {
11942 factory Blob(List blobParts, [String type = null, String endings = null]) nati ve
11943 '''return new Blob(blobParts, type, endings);''';
11944 }
11945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11946 // for details. All rights reserved. Use of this source code is governed by a
11947 // BSD-style license that can be found in the LICENSE file.
11948
11949 class _DOMParserFactoryProvider { 11941 class _DOMParserFactoryProvider {
11950 factory DOMParser() native 11942 factory DOMParser() native
11951 '''return new DOMParser();'''; 11943 '''return new DOMParser();''';
11952 } 11944 }
11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11954 // for details. All rights reserved. Use of this source code is governed by a 11946 // for details. All rights reserved. Use of this source code is governed by a
11955 // BSD-style license that can be found in the LICENSE file. 11947 // BSD-style license that can be found in the LICENSE file.
11956 11948
11957 class _DOMURLFactoryProvider { 11949 class _DOMURLFactoryProvider {
11958 factory DOMURL() native 11950 factory DOMURL() native
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
12621 int type; 12613 int type;
12622 12614
12623 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse); 12615 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse);
12624 } 12616 }
12625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12626 // for details. All rights reserved. Use of this source code is governed by a 12618 // for details. All rights reserved. Use of this source code is governed by a
12627 // BSD-style license that can be found in the LICENSE file. 12619 // BSD-style license that can be found in the LICENSE file.
12628 12620
12629 // WARNING: Do not edit - generated code. 12621 // WARNING: Do not edit - generated code.
12630 12622
12631 interface Blob default _BlobFactoryProvider { 12623 interface Blob {
12632
12633 Blob(List blobParts, [String type, String endings]);
12634 12624
12635 final int size; 12625 final int size;
12636 12626
12637 final String type; 12627 final String type;
12638 12628
12639 Blob slice([int start, int end, String contentType]); 12629 Blob slice([int start, int end, String contentType]);
12640 12630
12641 Blob webkitSlice([int start, int end, String contentType]); 12631 Blob webkitSlice([int start, int end, String contentType]);
12642 } 12632 }
12643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 12615 matching lines...) Expand 10 before | Expand all | Expand 10 after
25259 if (length < 0) throw new IllegalArgumentException('length'); 25249 if (length < 0) throw new IllegalArgumentException('length');
25260 if (start < 0) throw new IndexOutOfRangeException(start); 25250 if (start < 0) throw new IndexOutOfRangeException(start);
25261 int end = start + length; 25251 int end = start + length;
25262 if (end > a.length) throw new IndexOutOfRangeException(end); 25252 if (end > a.length) throw new IndexOutOfRangeException(end);
25263 for (int i = start; i < end; i++) { 25253 for (int i = start; i < end; i++) {
25264 accumulator.add(a[i]); 25254 accumulator.add(a[i]);
25265 } 25255 }
25266 return accumulator; 25256 return accumulator;
25267 } 25257 }
25268 } 25258 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698