OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 class _AudioContextFactoryProvider { | 5 class _AudioContextFactoryProvider { |
6 factory AudioContext() => FactoryProviderImplementation.createAudioContext(); | 6 factory AudioContext() => FactoryProviderImplementation.createAudioContext(); |
7 } | 7 } |
8 | 8 |
| 9 class _DOMParserFactoryProvider { |
| 10 factory DOMParser() => FactoryProviderImplementation.createDOMParser(); |
| 11 } |
| 12 |
9 class _FileReaderFactoryProvider { | 13 class _FileReaderFactoryProvider { |
10 factory FileReader() => FactoryProviderImplementation.createFileReader(); | 14 factory FileReader() => FactoryProviderImplementation.createFileReader(); |
11 } | 15 } |
12 | 16 |
13 class _TypedArrayFactoryProvider { | 17 class _TypedArrayFactoryProvider { |
14 factory Float32Array(int length) => FactoryProviderImplementation.F32(length); | 18 factory Float32Array(int length) => FactoryProviderImplementation.F32(length); |
15 factory Float32Array.fromList(List<num> list) => FactoryProviderImplementation
.F32(list); | 19 factory Float32Array.fromList(List<num> list) => FactoryProviderImplementation
.F32(list); |
16 factory Float32Array.fromBuffer(ArrayBuffer buffer) => FactoryProviderImplemen
tation.F32(buffer); | 20 factory Float32Array.fromBuffer(ArrayBuffer buffer) => FactoryProviderImplemen
tation.F32(buffer); |
17 | 21 |
18 factory Float64Array(int length) => FactoryProviderImplementation.F64(length); | 22 factory Float64Array(int length) => FactoryProviderImplementation.F64(length); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi
tPoint(x, y); | 56 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi
tPoint(x, y); |
53 } | 57 } |
54 | 58 |
55 class _WebSocketFactoryProvider { | 59 class _WebSocketFactoryProvider { |
56 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket
(url); | 60 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket
(url); |
57 } | 61 } |
58 | 62 |
59 class _XMLHttpRequestFactoryProvider { | 63 class _XMLHttpRequestFactoryProvider { |
60 factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest
(); | 64 factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest
(); |
61 } | 65 } |
OLD | NEW |