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

Unified Diff: tools/dom/scripts/systemhtml.py

Issue 11824072: Adding streams to dart:html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 7 years, 11 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 | « tools/dom/scripts/htmleventgenerator.py ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index b5cc1d91414698aec7f1f4791b95f897eb107f2e..6e770bf1c026e229f14ccfe357ecae8eb2252b39 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -409,7 +409,13 @@ class HtmlDartInterfaceGenerator(object):
DOMNAME=self._interface.doc_js_name,
NATIVESPEC=self._backend.NativeSpec())
self._backend.StartInterface(self._implementation_members_emitter)
+
self._backend.EmitHelpers(base_class)
+ self._event_generator.EmitStreamProviders(
+ self._interface,
+ self._interface.doc_js_name,
+ self._backend.CustomJSMembers(),
+ self._implementation_members_emitter)
self._backend.AddConstructors(
constructors, factory_provider, factory_constructor_name)
@@ -429,6 +435,11 @@ class HtmlDartInterfaceGenerator(object):
self._backend.AddMembers(self._interface)
self._backend.AddSecondaryMembers(self._interface)
+ self._event_generator.EmitStreamGetters(
+ self._interface,
+ self._interface.doc_js_name,
+ self._backend.CustomJSMembers(),
+ self._implementation_members_emitter)
self._backend.FinishInterface()
def _ImplementationEmitter(self):
« no previous file with comments | « tools/dom/scripts/htmleventgenerator.py ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698