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

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

Issue 9428050: Automatically generate most constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add test Created 8 years, 10 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) 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 DOMParser createDOMParser() native "DOMParser_constructor_Callback";
8 static FileReader createFileReader() native "FileReader_constructor_Callback"; 8 static FileReader createFileReader() native "FileReader_constructor_Callback";
9 9
10 static EventSource createEventSource(String scriptUrl) native "EventSource_con structor_Callback";
11
12 static MediaStream createMediaStream(MediaStreamTrackList audioTracks,
13 MediaStreamTrackList videoTracks)
14 native "MediaStream_constructor_Callback";
15
16 static PeerConnection createPeerConnection(
17 String serverConfiguration,
18 SignalingCallback signalingCallback)
19 native "PeerConnection_constructor_Callback";
20
21 static ShadowRoot createShadowRoot(Element host)
22 native "ShadowRoot_constructor_Callback";
23
24 static SharedWorker createSharedWorker(String scriptURL, String name)
25 native "SharedWorker_constructor_Callback";
26
27 static TextTrackCue createTextTrackCue(
28 String id, num startTime, num endTime, String text,
29 String settings, bool pauseOnExit)
30 native "TextTrackCue_constructor_Callback";
31
10 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo r_Callback"; 32 static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructo r_Callback";
11 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo r_Callback"; 33 static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructo r_Callback";
12 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb ack"; 34 static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callb ack";
13 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca llback"; 35 static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Ca llback";
14 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca llback"; 36 static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Ca llback";
15 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal lback"; 37 static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Cal lback";
16 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_ Callback"; 38 static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_ Callback";
17 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_ Callback"; 39 static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_ Callback";
18 40
19 static WebKitCSSMatrix createWebKitCSSMatrix([String spec = '']) native "WebKi tCSSMatrix_constructor_Callback"; 41 static WebKitCSSMatrix createWebKitCSSMatrix([String spec = '']) native "WebKi tCSSMatrix_constructor_Callback";
20 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru ctor_Callback"; 42 static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constru ctor_Callback";
21 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal lback"; 43 static WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal lback";
44 static Worker createWorkder(String scriptUrl) native "Worker_constructor_Callb ack";
22 static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructo r_Callback"; 45 static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructo r_Callback";
23 static XSLTProcessor createXSLTProcessor() native "XSLTProcessor_constructor_C allback"; 46 static XSLTProcessor createXSLTProcessor() native "XSLTProcessor_constructor_C allback";
24 } 47 }
OLDNEW
« no previous file with comments | « client/dom/src/native_FactoryProviders.dart ('k') | client/dom/src/wrapping_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698