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

Side by Side Diff: lib/dom/src/native_FactoryProvidersImplementation.dart

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 // 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 Uint8Array U8C(_arg0, [_arg1, _arg2]) native "Uint8ClampedArray_constru ctor_Callback";
18 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_ Callback"; 19 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_ Callback";
19 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_ Callback"; 20 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_ Callback";
20 21
21 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru ctor_Callback"; 22 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru ctor_Callback";
22 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal lback"; 23 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal lback";
23 24
24 static IDBKeyRange IDBKeyRange_only(value) native "IDBKeyRange_only_Callback"; 25 static IDBKeyRange IDBKeyRange_only(value) => IDBKeyRangeImplementation.only(v alue);
25 static IDBKeyRange IDBKeyRange_lowerBound(bound, open) native "IDBKeyRange_low erBound_Callback"; 26 static IDBKeyRange IDBKeyRange_lowerBound(bound, open) => IDBKeyRangeImplement ation.lowerBound(bound, open);
26 static IDBKeyRange IDBKeyRange_upperBound(bound, open) native "IDBKeyRange_upp erBound_Callback"; 27 static IDBKeyRange IDBKeyRange_upperBound(bound, open) => IDBKeyRangeImplement ation.upperBound(bound, open);
27 static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) nativ e "IDBKeyRange_bound_Callback"; 28 static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) => ID BKeyRangeImplementation.bound(lower, upper,lowerOpen, upperOpen);
28 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698