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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/src/native_FactoryProviders.dart
diff --git a/client/dom/src/native_FactoryProviders.dart b/client/dom/src/native_FactoryProviders.dart
index 2531e2735e7e48355afd1e59639c6c99014492ea..4462ce8b526d4f83655144d4efadf6734b487caa 100644
--- a/client/dom/src/native_FactoryProviders.dart
+++ b/client/dom/src/native_FactoryProviders.dart
@@ -6,6 +6,10 @@ class _AudioContextFactoryProvider {
factory AudioContext() => FactoryProviderImplementation.createAudioContext();
}
+class _DOMParserFactoryProvider {
+ factory DOMParser() => FactoryProviderImplementation.createDOMParser();
+}
+
class _FileReaderFactoryProvider {
factory FileReader() => FactoryProviderImplementation.createFileReader();
}
« 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