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

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

Issue 9310103: Add a constructor for DOMParser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add tests and a template for DOMParser. 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 _AudioContextFactoryProvider { 5 class _AudioContextFactoryProvider {
6 factory AudioContext() => FactoryProviderImplementation.createAudioContext(); 6 factory AudioContext() => FactoryProviderImplementation.createAudioContext();
7 } 7 }
8 8
9 class _DOMParserFactoryProvider {
10 factory DOMParser() => FactoryProviderImplementation.createDOMParser();
11 }
12
9 class _FileReaderFactoryProvider { 13 class _FileReaderFactoryProvider {
10 factory FileReader() => FactoryProviderImplementation.createFileReader(); 14 factory FileReader() => FactoryProviderImplementation.createFileReader();
11 } 15 }
12 16
13 class _TypedArrayFactoryProvider { 17 class _TypedArrayFactoryProvider {
14 factory Float32Array(int length) => FactoryProviderImplementation.F32(length); 18 factory Float32Array(int length) => FactoryProviderImplementation.F32(length);
15 factory Float32Array.fromList(List<num> list) => FactoryProviderImplementation .F32(list); 19 factory Float32Array.fromList(List<num> list) => FactoryProviderImplementation .F32(list);
16 factory Float32Array.fromBuffer(ArrayBuffer buffer) => FactoryProviderImplemen tation.F32(buffer); 20 factory Float32Array.fromBuffer(ArrayBuffer buffer) => FactoryProviderImplemen tation.F32(buffer);
17 21
18 factory Float64Array(int length) => FactoryProviderImplementation.F64(length); 22 factory Float64Array(int length) => FactoryProviderImplementation.F64(length);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi tPoint(x, y); 56 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi tPoint(x, y);
53 } 57 }
54 58
55 class _WebSocketFactoryProvider { 59 class _WebSocketFactoryProvider {
56 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket (url); 60 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket (url);
57 } 61 }
58 62
59 class _XMLHttpRequestFactoryProvider { 63 class _XMLHttpRequestFactoryProvider {
60 factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest (); 64 factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest ();
61 } 65 }
OLDNEW
« no previous file with comments | « client/dom/src/frog_FactoryProviders.dart ('k') | client/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698