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

Side by Side Diff: tools/dom/src/dartium_FactoryProviders.dart

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 class _TypedArrayFactoryProvider { 7 class _TypedArrayFactoryProvider {
8 static Float32Array createFloat32Array(int length) => _F32(length); 8 static Float32Array createFloat32Array(int length) => _F32(length);
9 static Float32Array createFloat32Array_fromList(List<num> list) => 9 static Float32Array createFloat32Array_fromList(List<num> list) =>
10 _F32(ensureNative(list)); 10 _F32(ensureNative(list));
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ArrayBuffer buffer, [int byteOffset = 0, int length]) => 68 ArrayBuffer buffer, [int byteOffset = 0, int length]) =>
69 _U8C(buffer, byteOffset, length); 69 _U8C(buffer, byteOffset, length);
70 static _U8C(arg0, [arg1, arg2]) native "Uint8ClampedArray_constructor_Callback "; 70 static _U8C(arg0, [arg1, arg2]) native "Uint8ClampedArray_constructor_Callback ";
71 71
72 static ensureNative(List list) => list; // TODO: make sure. 72 static ensureNative(List list) => list; // TODO: make sure.
73 } 73 }
74 74
75 class _TextFactoryProvider { 75 class _TextFactoryProvider {
76 static Text createText(String data) => document.$dom_createTextNode(data); 76 static Text createText(String data) => document.$dom_createTextNode(data);
77 } 77 }
OLDNEW
« no previous file with comments | « tools/dom/src/dart2js_TypedArrayFactoryProvider.dart ('k') | tools/dom/src/dartium_KeyEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698