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

Unified Diff: client/dom/src/native_FactoryProviders.dart

Issue 9705040: Generate factory providers for systemnative (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 9 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
« no previous file with comments | « client/dom/scripts/systemnative.py ('k') | client/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/native_FactoryProviders.dart
diff --git a/client/dom/src/native_FactoryProviders.dart b/client/dom/src/native_FactoryProviders.dart
index eb88da985476b3935133cdfd1118636707fcd286..9a154c34e09dae3084a95f3e3802344c8a7116d7 100644
--- a/client/dom/src/native_FactoryProviders.dart
+++ b/client/dom/src/native_FactoryProviders.dart
@@ -1,86 +1,15 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, 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.
+// These factory providers are for interfaces that do not have factory providers
+// generated automatically from a Constructor or NamedConstructor extended
+// attribute.
+
class _AudioContextFactoryProvider {
factory AudioContext() => FactoryProviderImplementation.createAudioContext();
}
-class _DOMParserFactoryProvider {
- factory DOMParser() => FactoryProviderImplementation.createDOMParser();
-}
-
-class _DOMURLFactoryProvider {
- factory DOMURL() => FactoryProviderImplementation.createDOMURL();
-}
-
-class _EventSourceFactoryProvider {
- factory EventSource(String scriptUrl) =>
- FactoryProviderImplementation.createEventSource(scriptUrl);
-}
-
-class _DeprecatedPeerConnectionFactoryProvider {
- factory DeprecatedPeerConnection(String serverConfiguration,
- SignalingCallback signalingCallback) =>
- FactoryProviderImplementation.createDeprecatedPeerConnection(serverConfiguration, signalingCallback);
-}
-
-class _FileReaderFactoryProvider {
- factory FileReader() => FactoryProviderImplementation.createFileReader();
-}
-
-class _FileReaderSyncFactoryProvider {
- factory FileReaderSync() => FactoryProviderImplementation.createFileReaderSync();
-}
-
-class _HTMLAudioElementFactoryProvider {
- factory HTMLAudioElement([String src]) => FactoryProviderImplementation.createHTMLAudioElement(src);
-}
-
-class _HTMLOptionElementFactoryProvider {
- factory HTMLOptionElement([String data, String value, bool defaultSelected, bool selected]) =>
- FactoryProviderImplementation.createHTMLOptionElement(data, value, defaultSelected, selected);
-}
-
-class _MediaControllerFactoryProvider {
- factory MediaController() => FactoryProviderImplementation.createMediaController();
-}
-
-class _MediaStreamFactoryProvider {
- factory MediaStream(MediaStreamTrackList audioTracks,
- MediaStreamTrackList videoTracks) =>
- FactoryProviderImplementation.createMediaStream(audioTracks, videoTracks);
-}
-
-class _MessageChannelFactoryProvider {
- factory MessageChannel() => FactoryProviderImplementation.createMessageChannel();
-}
-
-class _ShadowRootFactoryProvider {
- factory ShadowRoot(Element host) =>
- FactoryProviderImplementation.createShadowRoot(host);
-}
-
-class _SharedWorkerFactoryProvider {
- factory SharedWorker(String scriptURL, [String name]) =>
- FactoryProviderImplementation.createSharedWorker(scriptURL, name);
-}
-
-class _SpeechGrammarFactoryProvider {
- factory SpeechGrammar() => FactoryProviderImplementation.createSpeechGrammar();
-}
-
-class _SpeechGrammarListFactoryProvider {
- factory SpeechGrammarList() => FactoryProviderImplementation.createSpeechGrammarList();
-}
-
-class _TextTrackCueFactoryProvider {
- factory TextTrackCue(String id, num startTime, num endTime, String text,
- [String settings, bool pauseOnExit]) =>
- FactoryProviderImplementation.createTextTrackQue(
- id, startTime, endTime, text, settings, pauseOnExit);
-}
-
class _TypedArrayFactoryProvider {
factory Float32Array(int length) => FactoryProviderImplementation.F32(length);
factory Float32Array.fromList(List<num> list) => FactoryProviderImplementation.F32(list);
@@ -115,14 +44,6 @@ class _TypedArrayFactoryProvider {
factory Uint32Array.fromBuffer(ArrayBuffer buffer) => FactoryProviderImplementation.U32(buffer);
}
-class _WebKitCSSMatrixFactoryProvider {
- factory WebKitCSSMatrix([String spec = '']) => FactoryProviderImplementation.createWebKitCSSMatrix(spec);
-}
-
-class _WebKitBlobBuilderFactoryProvider {
- factory WebKitBlobBuilder() => FactoryProviderImplementation.createWebKitBlobBuilder();
-}
-
class _WebKitPointFactoryProvider {
factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKitPoint(x, y);
}
@@ -130,23 +51,3 @@ class _WebKitPointFactoryProvider {
class _WebSocketFactoryProvider {
factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket(url);
}
-
-class _WorkerFactoryProvider {
- factory Worker(String scriptUrl) =>
- FactoryProviderImplementation.createWorker(scriptUrl);
-}
-class _XMLHttpRequestFactoryProvider {
- factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest();
-}
-
-class _XMLSerializerFactoryProvider {
- factory XMLSerializer() => FactoryProviderImplementation.createXMLSerializer();
-}
-
-class _XPathEvaluatorFactoryProvider {
- factory XPathEvaluator() => FactoryProviderImplementation.createXPathEvaluator();
-}
-
-class _XSLTProcessorFactoryProvider {
- factory XSLTProcessor() => FactoryProviderImplementation.createXSLTProcessor();
-}
« no previous file with comments | « client/dom/scripts/systemnative.py ('k') | client/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698