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

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

Issue 11108017: Rename Dartium dart:html implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 2 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/dartium/html_dartium.dart ('k') | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/generator.py
diff --git a/lib/html/scripts/generator.py b/lib/html/scripts/generator.py
index 8fabd064fc4d2aa8ccf426c22556c551affd2434..e481348a5931424e501bf7f9f50dde4ddc5a8536 100644
--- a/lib/html/scripts/generator.py
+++ b/lib/html/scripts/generator.py
@@ -718,13 +718,17 @@ class InterfaceIDLTypeInfo(IDLTypeInfo):
return self.dart_type()
if IsPureInterface(self.idl_type()):
return self.idl_type()
- return self.implementation_name()
+ return ImplementationClassNameForInterfaceName(self.interface_name())
def interface_name(self):
return self._dart_interface_name
def implementation_name(self):
- return ImplementationClassNameForInterfaceName(self._dart_interface_name)
+ implementation_name = ImplementationClassNameForInterfaceName(
+ self.interface_name())
+ if self.merged_into():
+ implementation_name = '%s_Merged' % implementation_name
+ return implementation_name
def has_generated_interface(self):
return True
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698