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

Unified Diff: client/dom/src/native_FactoryProvidersImplementation.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/src/native_FactoryProviders.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/native_FactoryProvidersImplementation.dart
diff --git a/client/dom/src/native_FactoryProvidersImplementation.dart b/client/dom/src/native_FactoryProvidersImplementation.dart
index d3833b8250ff75364081e1ab382ebd7ce0e8884c..b1df0d30b82eae6cb49bec052febcd229be7f098 100644
--- a/client/dom/src/native_FactoryProvidersImplementation.dart
+++ b/client/dom/src/native_FactoryProvidersImplementation.dart
@@ -5,14 +5,26 @@
class FactoryProviderImplementation {
static AudioContext createAudioContext() native "AudioContext_constructor_Callback";
static DOMParser createDOMParser() native "DOMParser_constructor_Callback";
+ static DOMURL createDOMURL() native "DOMURL_constructor_Callback";
static FileReader createFileReader() native "FileReader_constructor_Callback";
+ static FileReaderSync createFileReaderSync() native "FileReaderSync_constructor_Callback";
static EventSource createEventSource(String scriptUrl) native "EventSource_constructor_Callback";
+ // TODO(antonm): support named constructors generation.
+ static HTMLAudioElement createHTMLAudioElement([String src]) { throw 'Unimplemented.'; }
+
+ // TODO(antonm): support named constructors generation.
+ static HTMLOptionElement createHTMLOptionElement([String data, String value, bool defaultSelected, bool selected]) { throw 'Unimplemented.'; }
+
+ static MediaController createMediaController() native "MediaController_constructor_Callback";
+
static MediaStream createMediaStream(MediaStreamTrackList audioTracks,
MediaStreamTrackList videoTracks)
native "MediaStream_constructor_Callback";
+ static MessageChannel createMessageChannel() native "MessageChannel_constructor_Callback";
+
static PeerConnection createPeerConnection(
String serverConfiguration,
SignalingCallback signalingCallback)
@@ -38,10 +50,13 @@ class FactoryProviderImplementation {
static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_Callback";
static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_Callback";
+ static WebKitBlobBuilder createWebKitBlobBuilder() native "WebKitBlobBuilder_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 Worker createWorkder(String scriptUrl) native "Worker_constructor_Callback";
static XMLHttpRequest createXMLHttpRequest() native "XMLHttpRequest_constructor_Callback";
+ static XMLSerializer createXMLSerializer() native "XMLSerializer_constructor_Callback";
+ static XPathEvaluator createXPathEvaluator() native "XPathEvaluator_constructor_Callback";
static XSLTProcessor createXSLTProcessor() native "XSLTProcessor_constructor_Callback";
}
« no previous file with comments | « client/dom/src/native_FactoryProviders.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698