Chromium Code Reviews| Index: tools/dom/scripts/systemhtml.py |
| diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py |
| index f88a451c61bf642b44455a0b731248ca34cec91b..4156f35dd507ca98802a0b5eaa06664f65d9aa19 100644 |
| --- a/tools/dom/scripts/systemhtml.py |
| +++ b/tools/dom/scripts/systemhtml.py |
| @@ -518,6 +518,13 @@ class HtmlDartInterfaceGenerator(object): |
| if implements: |
| implements_str = ' implements ' + ', '.join(set(implements)) |
| + mixins = self._backend.Mixins() |
| + mixins_str = '' |
| + if mixins: |
| + mixins_str = ' with ' + ', '.join(set(mixins)) |
|
sra1
2013/04/24 20:01:01
set(x) has undefined iteration order
Just do .joi
blois
2013/04/26 21:02:34
Done.
|
| + if not base_class: |
| + base_class = 'Object' |
| + |
| annotations = FormatAnnotationsAndComments( |
| GetAnnotationsAndComments(self._library_name, |
| self._interface.doc_js_name), '') |
| @@ -534,6 +541,7 @@ class HtmlDartInterfaceGenerator(object): |
| CLASSNAME=self._interface_type_info.implementation_name(), |
| EXTENDS=' extends %s' % base_class if base_class else '', |
| IMPLEMENTS=implements_str, |
| + MIXINS=mixins_str, |
| DOMNAME=self._interface.doc_js_name, |
| NATIVESPEC=self._backend.NativeSpec()) |
| self._backend.StartInterface(self._implementation_members_emitter) |