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

Unified Diff: client/dom/src/_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
« no previous file with comments | « client/dom/generated/wrapping_dom.js ('k') | client/dom/src/frog_FactoryProviders.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/_FactoryProviders.dart
diff --git a/client/dom/src/_FactoryProviders.dart b/client/dom/src/_FactoryProviders.dart
index 9d7b38ca28e82897f8e6252922f32b64032976ff..56491d0d527435137920ad9fe50c3c1e557ecd75 100644
--- a/client/dom/src/_FactoryProviders.dart
+++ b/client/dom/src/_FactoryProviders.dart
@@ -13,6 +13,13 @@ class _AudioContextFactoryProvider {
static AudioContext create() native;
}
+class _DOMParserFactoryProvider {
+
+ factory DOMParser() { return create(); }
+
+ static DOMParser create() native;
+}
+
class _FileReaderFactoryProvider {
factory FileReader() { return create(); }
« no previous file with comments | « client/dom/generated/wrapping_dom.js ('k') | client/dom/src/frog_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698