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

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

Issue 9480001: Support named ctors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebaseline 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/tests/client/client.status » ('j') | 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 b1df0d30b82eae6cb49bec052febcd229be7f098..ee6c0d206b136baf0ab48c444ca2bd0866ad5bb6 100644
--- a/client/dom/src/native_FactoryProvidersImplementation.dart
+++ b/client/dom/src/native_FactoryProvidersImplementation.dart
@@ -11,11 +11,9 @@ class FactoryProviderImplementation {
static EventSource createEventSource(String scriptUrl) native "EventSource_constructor_Callback";
- // TODO(antonm): support named constructors generation.
- static HTMLAudioElement createHTMLAudioElement([String src]) { throw 'Unimplemented.'; }
+ static HTMLAudioElement createHTMLAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
- // TODO(antonm): support named constructors generation.
- static HTMLOptionElement createHTMLOptionElement([String data, String value, bool defaultSelected, bool selected]) { throw 'Unimplemented.'; }
+ static HTMLOptionElement createHTMLOptionElement([String data, String value, bool defaultSelected, bool selected]) native "HTMLOptionElement_constructor_Callback";
static MediaController createMediaController() native "MediaController_constructor_Callback";
« no previous file with comments | « client/dom/scripts/systemnative.py ('k') | client/tests/client/client.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698