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

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
Index: lib/html/scripts/generator.py
diff --git a/lib/html/scripts/generator.py b/lib/html/scripts/generator.py
index da62d88dfe12f2688050a839227b793a0e7ac2cf..0972f5055c4bb7925e6218c5a75c8ec93a3f1b0d 100644
--- a/lib/html/scripts/generator.py
+++ b/lib/html/scripts/generator.py
@@ -737,13 +737,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())
Anton Muhin 2012/10/12 17:50:42 why this has changed?
podivilov 2012/10/17 12:57:45 Implementation class name for HTMLElement is _Elem
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

Powered by Google App Engine
This is Rietveld 408576698