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

Unified Diff: lib/html/scripts/dartgenerator.py

Issue 10986048: Get rid of System classes for backend generators. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 3 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 | « lib/html/scripts/dartdomgenerator.py ('k') | lib/html/scripts/systembase.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/dartgenerator.py
diff --git a/lib/html/scripts/dartgenerator.py b/lib/html/scripts/dartgenerator.py
index e15ebadc229a329f2edbfcaf1ba85669ddf3b22b..78ed8bc0af58709c8d0c6665e876e57f7ba71bcb 100755
--- a/lib/html/scripts/dartgenerator.py
+++ b/lib/html/scripts/dartgenerator.py
@@ -226,13 +226,8 @@ class DartGenerator(object):
interface_name, auxiliary_file))
continue
- if 'Callback' in interface.ext_attrs:
- handlers = [op for op in interface.operations if op.id == 'handleEvent']
- info = AnalyzeOperation(interface, handlers)
- system.ProcessCallback(interface, info)
- else:
- _logger.info('Generating %s' % interface.id)
- system.ProcessInterface(interface)
+ _logger.info('Generating %s' % interface.id)
+ system.ProcessInterface(interface)
def _PreOrderInterfaces(self, interfaces):
"""Returns the interfaces in pre-order, i.e. parents first."""
« no previous file with comments | « lib/html/scripts/dartdomgenerator.py ('k') | lib/html/scripts/systembase.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698