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

Unified Diff: client/dom/scripts/dartgenerator.py

Issue 9623017: Refactor the event-generation code to locate it in systemhtml.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years, 9 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 | « no previous file | client/dom/scripts/systemfrog.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/dartgenerator.py
diff --git a/client/dom/scripts/dartgenerator.py b/client/dom/scripts/dartgenerator.py
index 8e8ee7aafe518da77ef2adb91a2adbf6f1ed6faf..6966f6b34771af4cee02d6d36482535bfcf33551 100755
--- a/client/dom/scripts/dartgenerator.py
+++ b/client/dom/scripts/dartgenerator.py
@@ -396,13 +396,6 @@ class DartGenerator(object):
for generator in generators:
generator.AddAttribute(getter, setter)
- events = set([attr for attr in interface.attributes
- if self._IsEventAttribute(interface, attr)])
-
- if events:
- for generator in generators:
- generator.AddEventAttributes(events)
-
# The implementation should define an indexer if the interface directly
# extends List.
element_type = MaybeListElementType(interface)
« no previous file with comments | « no previous file | client/dom/scripts/systemfrog.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698