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

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

Issue 9290020: Add support for native bindings generation to dartgenerator.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 class FactoryProviderImplementation {
6 static AudioContext createAudioContext() native "AudioContext_constructor_Call back";
7 static FileReader createFileReader() native "FileReader_constructor_Callback";
8
9 static Float32Array F32(arg) native "Float32Array_constructor_Callback";
10 static Float64Array F64(arg) native "Float64Array_constructor_Callback";
11 static Int8Array I8(arg) native "Int8Array_constructor_Callback";
12 static Int16Array I16(arg) native "Int16Array_constructor_Callback";
13 static Int32Array I32(arg) native "Int32Array_constructor_Callback";
14 static Uint8Array U8(arg) native "Uint8Array_constructor_Callback";
15 static Uint16Array U16(arg) native "Uint16Array_constructor_Callback";
16 static Uint32Array U32(arg) native "Uint32Array_constructor_Callback";
17
18 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 WebSocket createWebSocket(String url) native "WebSocket_constructor_Cal lback";
21 static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructo r_Callback";
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698