| OLD | NEW |
| 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 // These factory provider implementation functions are for interfaces that do | 5 // These factory provider implementation functions are for interfaces that do |
| 6 // not have factory provider implementation functions generated automatically | 6 // not have factory provider implementation functions generated automatically |
| 7 // from a Constructor or NamedConstructor extended attribute. | 7 // from a Constructor or NamedConstructor extended attribute. |
| 8 | 8 |
| 9 class FactoryProviderImplementation { | 9 class FactoryProviderImplementation { |
| 10 static AudioContext createAudioContext() native "AudioContext_constructor_Call
back"; | 10 static AudioContext createAudioContext() native "AudioContext_constructor_Call
back"; |
| 11 | 11 |
| 12 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo
r_Callback"; | 12 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo
r_Callback"; |
| 13 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo
r_Callback"; | 13 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo
r_Callback"; |
| 14 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb
ack"; | 14 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb
ack"; |
| 15 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca
llback"; | 15 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca
llback"; |
| 16 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca
llback"; | 16 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca
llback"; |
| 17 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal
lback"; | 17 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal
lback"; |
| 18 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_
Callback"; | 18 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_
Callback"; |
| 19 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_
Callback"; | 19 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_
Callback"; |
| 20 | 20 |
| 21 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru
ctor_Callback"; | 21 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru
ctor_Callback"; |
| 22 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal
lback"; | 22 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal
lback"; |
| 23 |
| 24 static IDBKeyRange IDBKeyRange_only(value) native "IDBKeyRange_only_Callback"; |
| 25 static IDBKeyRange IDBKeyRange_lowerBound(bound, open) native "IDBKeyRange_low
erBound_Callback"; |
| 26 static IDBKeyRange IDBKeyRange_upperBound(bound, open) native "IDBKeyRange_upp
erBound_Callback"; |
| 27 static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) nativ
e "IDBKeyRange_bound_Callback"; |
| 23 } | 28 } |
| OLD | NEW |