Index: client/dom/templates/dom/frog/frog_dom.darttemplate |
diff --git a/client/dom/templates/dom/frog/frog_dom.darttemplate b/client/dom/templates/dom/frog/frog_dom.darttemplate |
index fb6c061c351e2daaf63a2bd8d496100fd4599a11..6a890559fa63ff99b9dcfb4e4961d104738b688a 100644 |
--- a/client/dom/templates/dom/frog/frog_dom.darttemplate |
+++ b/client/dom/templates/dom/frog/frog_dom.darttemplate |
@@ -15,14 +15,13 @@ $!GENERATED_DART_FILES |
#source('src/RequestAnimationFrameCallback.dart'); |
#source('src/TimeoutHandler.dart'); |
#source('src/_Collections.dart'); |
-// #source('src/_FactoryProviders.dart'); |
+#source('src/frog_FactoryProviders.dart'); |
#source('src/_ListIterators.dart'); |
#source('src/_Lists.dart'); |
-// TODO(jmesserly): 'native' here is aWork-around for Frog bug. Frog needs to |
-// be smarter about inheriting from a hidden native type (in this case |
-// DOMWindow) |
-class Window extends DOMWindow native "*Window" {} |
+// TODO(sra): What 'window' do we get in a worker? Perhaps this |
+// should return the interface type. |
DOMWindow get window() native "return window;"; |
+ |
// TODO(vsm): Revert to Dart method when 508 is fixed. |
HTMLDocument get document() native "return window.document;"; |