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

Unified Diff: lib/dom/scripts/systembase.py

Issue 10703194: Extract interfaces and members renaming logic to a new HtmlRenamer class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
Index: lib/dom/scripts/systembase.py
diff --git a/lib/dom/scripts/systembase.py b/lib/dom/scripts/systembase.py
index a08bcb9d67cc89d29ef8a15dfd8543914fce6333..bc096c7a3045e534c8a70901893eefe0c9e540f4 100644
--- a/lib/dom/scripts/systembase.py
+++ b/lib/dom/scripts/systembase.py
@@ -29,6 +29,7 @@ class System(object):
self._database = options.database
self._emitters = options.emitters
self._type_registry = options.type_registry
+ self._renamer = options.renamer
self._output_dir = options.output_dir
def ProcessInterface(self, interface):
@@ -227,11 +228,13 @@ class BaseGenerator(object):
class GeneratorOptions(object):
- def __init__(self, templates, database, emitters, type_registry, output_dir):
+ def __init__(self, templates, database, emitters, type_registry, renamer,
+ output_dir):
self.templates = templates
self.database = database
self.emitters = emitters
self.type_registry = type_registry
+ self.renamer = renamer
self.output_dir = output_dir

Powered by Google App Engine
This is Rietveld 408576698