| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // These factory provider implementation functions are for interfaces that do | |
| 6 // not have factory provider implementation functions generated automatically | |
| 7 // from a Constructor or NamedConstructor extended attribute. | |
| 8 | |
| 9 class FactoryProviderImplementation { | |
| 10 static AudioContext createAudioContext() native "AudioContext_constructor_Call
back"; | |
| 11 | |
| 12 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_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"; | |
| 15 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_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"; | |
| 18 static Uint8Array U8C(_arg0, [_arg1, _arg2]) native "Uint8ClampedArray_constru
ctor_Callback"; | |
| 19 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_
Callback"; | |
| 20 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_
Callback"; | |
| 21 | |
| 22 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru
ctor_Callback"; | |
| 23 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal
lback"; | |
| 24 | |
| 25 static IDBKeyRange IDBKeyRange_only(value) => IDBKeyRangeImplementation.only(v
alue); | |
| 26 static IDBKeyRange IDBKeyRange_lowerBound(bound, open) => IDBKeyRangeImplement
ation.lowerBound(bound, open); | |
| 27 static IDBKeyRange IDBKeyRange_upperBound(bound, open) => IDBKeyRangeImplement
ation.upperBound(bound, open); | |
| 28 static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) => ID
BKeyRangeImplementation.bound(lower, upper,lowerOpen, upperOpen); | |
| 29 } | |
| OLD | NEW |