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

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

Issue 9465011: Support arguments in constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 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 fea8cbb19915894e23163901c17e451273641cb7..6d70ed98f1716462f5fa94db4d0894e0dc6b5a7d 100644
--- a/client/dom/src/native_FactoryProviders.dart
+++ b/client/dom/src/native_FactoryProviders.dart
@@ -10,6 +10,10 @@ class _DOMParserFactoryProvider {
factory DOMParser() => FactoryProviderImplementation.createDOMParser();
}
+class _DOMURLFactoryProvider {
+ factory DOMURL() => FactoryProviderImplementation.createDOMURL();
+}
+
class _EventSourceFactoryProvider {
factory EventSource(String scriptUrl) =>
FactoryProviderImplementation.createEventSource(scriptUrl);
@@ -19,12 +23,33 @@ 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 _PeerConnectionFactoryProvider {
factory PeerConnection(String serverConfiguration,
SignalingCallback signalingCallback) =>
@@ -87,6 +112,10 @@ 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);
}
@@ -103,17 +132,14 @@ class _XMLHttpRequestFactoryProvider {
factory XMLHttpRequest() => FactoryProviderImplementation.createXMLHttpRequest();
}
+class _XMLSerializerFactoryProvider {
+ factory XMLSerializer() => FactoryProviderImplementation.createXMLSerializer();
+}
+
+class _XPathEvaluatorFactoryProvider {
+ factory XPathEvaluator() => FactoryProviderImplementation.createXPathEvaluator();
+}
+
class _XSLTProcessorFactoryProvider {
factory XSLTProcessor() => FactoryProviderImplementation.createXSLTProcessor();
}
-
-// TODO(sra): Fill in these:
-class _DOMURLFactoryProvider {}
-class _FileReaderSyncFactoryProvider {}
-class _HTMLAudioElementFactoryProvider {}
-class _HTMLOptionElementFactoryProvider {}
-class _MediaControllerFactoryProvider {}
-class _MessageChannelFactoryProvider {}
-class _WebKitBlobBuilderFactoryProvider {}
-class _XPathEvaluatorFactoryProvider {}
-class _XMLSerializerFactoryProvider {}
« 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