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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/src/native_FactoryProvidersImplementation.dart
diff --git a/client/dom/src/native_FactoryProvidersImplementation.dart b/client/dom/src/native_FactoryProvidersImplementation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..f8144f849b508c48620fa16521253093105fbe16
--- /dev/null
+++ b/client/dom/src/native_FactoryProvidersImplementation.dart
@@ -0,0 +1,22 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+class FactoryProviderImplementation {
+ static AudioContext createAudioContext() native "AudioContext_constructor_Callback";
+ static FileReader createFileReader() native "FileReader_constructor_Callback";
+
+ static Float32Array F32(_arg0, [_arg1, _arg2]) native "Float32Array_constructor_Callback";
+ static Float64Array F64(_arg0, [_arg1, _arg2]) native "Float64Array_constructor_Callback";
+ static Int8Array I8(_arg0, [_arg1, _arg2]) native "Int8Array_constructor_Callback";
+ static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Callback";
+ static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Callback";
+ static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Callback";
+ static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_Callback";
+ static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_Callback";
+
+ static WebKitCSSMatrix createWebKitCSSMatrix([String spec = '']) native "WebKitCSSMatrix_constructor_Callback";
+ static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constructor_Callback";
+ static WebSocket createWebSocket(String url) native "WebSocket_constructor_Callback";
+ static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructor_Callback";
+}

Powered by Google App Engine
This is Rietveld 408576698