| 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 FactoryProviderImplementation { | 5 class FactoryProviderImplementation { |
| 6 static AudioContext createAudioContext() native "AudioContext_constructor_Call
back"; | 6 static AudioContext createAudioContext() native "AudioContext_constructor_Call
back"; |
| 7 static DOMParser createDOMParser() native "DOMParser_constructor_Callback"; |
| 7 static FileReader createFileReader() native "FileReader_constructor_Callback"; | 8 static FileReader createFileReader() native "FileReader_constructor_Callback"; |
| 8 | 9 |
| 9 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo
r_Callback"; | 10 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo
r_Callback"; |
| 10 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo
r_Callback"; | 11 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo
r_Callback"; |
| 11 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb
ack"; | 12 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb
ack"; |
| 12 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca
llback"; | 13 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca
llback"; |
| 13 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca
llback"; | 14 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca
llback"; |
| 14 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal
lback"; | 15 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal
lback"; |
| 15 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_
Callback"; | 16 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_
Callback"; |
| 16 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_
Callback"; | 17 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_
Callback"; |
| 17 | 18 |
| 18 static WebKitCSSMatrix createWebKitCSSMatrix([String spec = '']) native "WebKi
tCSSMatrix_constructor_Callback"; | 19 static WebKitCSSMatrix createWebKitCSSMatrix([String spec = '']) native "WebKi
tCSSMatrix_constructor_Callback"; |
| 19 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru
ctor_Callback"; | 20 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru
ctor_Callback"; |
| 20 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal
lback"; | 21 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal
lback"; |
| 21 static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructo
r_Callback"; | 22 static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructo
r_Callback"; |
| 22 } | 23 } |
| OLD | NEW |