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

Unified Diff: client/dom/src/frog_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/src/_FactoryProviders.dart ('k') | client/dom/src/native_FactoryProviders.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/frog_FactoryProviders.dart
diff --git a/client/dom/src/frog_FactoryProviders.dart b/client/dom/src/frog_FactoryProviders.dart
index b0755b3d4a0b225633defddedae7ace77d8c9a75..aa461dcb4a0fe4a6d55f1440274356865b278ba2 100644
--- a/client/dom/src/frog_FactoryProviders.dart
+++ b/client/dom/src/frog_FactoryProviders.dart
@@ -14,6 +14,11 @@ class _AudioContextFactoryProvider {
''';
}
+class _DOMParserFactoryProvider {
+
+ factory DOMParser() native '''return new DOMParser();''';
+}
+
class _FileReaderFactoryProvider {
factory FileReader() native '''return new FileReader();''';
« no previous file with comments | « client/dom/src/_FactoryProviders.dart ('k') | client/dom/src/native_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698