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

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

Issue 10780029: ArrayBuffer 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 | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | tests/html/typed_arrays_5_test.dart » ('J')
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) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, 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 with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
11 11
12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13 // for details. All rights reserved. Use of this source code is governed by a 13 // for details. All rights reserved. Use of this source code is governed by a
14 // BSD-style license that can be found in the LICENSE file. 14 // BSD-style license that can be found in the LICENSE file.
15 15
16 class _ArrayBufferFactoryProvider {
17 factory ArrayBuffer(int length) => _dummy();
18 }
19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20 // for details. All rights reserved. Use of this source code is governed by a
21 // BSD-style license that can be found in the LICENSE file.
22
16 class _BlobFactoryProvider { 23 class _BlobFactoryProvider {
17 factory Blob(List blobParts, [String type, String endings]) => _dummy(); 24 factory Blob(List blobParts, [String type, String endings]) => _dummy();
18 } 25 }
19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20 // for details. All rights reserved. Use of this source code is governed by a 27 // for details. All rights reserved. Use of this source code is governed by a
21 // BSD-style license that can be found in the LICENSE file. 28 // BSD-style license that can be found in the LICENSE file.
22 29
23 class _DOMParserFactoryProvider { 30 class _DOMParserFactoryProvider {
24 factory DOMParser() => _dummy(); 31 factory DOMParser() => _dummy();
25 } 32 }
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 bool dispatchEvent(Event evt); 232 bool dispatchEvent(Event evt);
226 233
227 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 234 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
228 } 235 }
229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
230 // for details. All rights reserved. Use of this source code is governed by a 237 // for details. All rights reserved. Use of this source code is governed by a
231 // BSD-style license that can be found in the LICENSE file. 238 // BSD-style license that can be found in the LICENSE file.
232 239
233 // WARNING: Do not edit - generated code. 240 // WARNING: Do not edit - generated code.
234 241
235 interface ArrayBuffer { 242 interface ArrayBuffer default _ArrayBufferFactoryProvider {
243
244 ArrayBuffer(int length);
236 245
237 final int byteLength; 246 final int byteLength;
238 247
239 ArrayBuffer slice(int begin, [int end]); 248 ArrayBuffer slice(int begin, [int end]);
240 } 249 }
241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
242 // for details. All rights reserved. Use of this source code is governed by a 251 // for details. All rights reserved. Use of this source code is governed by a
243 // BSD-style license that can be found in the LICENSE file. 252 // BSD-style license that can be found in the LICENSE file.
244 253
245 // WARNING: Do not edit - generated code. 254 // WARNING: Do not edit - generated code.
(...skipping 12713 matching lines...) Expand 10 before | Expand all | Expand 10 after
12959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12960 // for details. All rights reserved. Use of this source code is governed by a 12969 // for details. All rights reserved. Use of this source code is governed by a
12961 // BSD-style license that can be found in the LICENSE file. 12970 // BSD-style license that can be found in the LICENSE file.
12962 12971
12963 Window get window() => _dummy(); 12972 Window get window() => _dummy();
12964 12973
12965 // TODO(vsm): Remove when prefixes are supported. 12974 // TODO(vsm): Remove when prefixes are supported.
12966 Window get dom_window() => _dummy(); 12975 Window get dom_window() => _dummy();
12967 12976
12968 Document get document() => _dummy(); 12977 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | tests/html/typed_arrays_5_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698