Index: tools/dom/scripts/systemhtml.py |
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py |
index 2a88e180878cffcbb35bec095a9ab37ae60a45d8..27dcb6cff9760569e244cbd95d6cca121f094ead 100644 |
--- a/tools/dom/scripts/systemhtml.py |
+++ b/tools/dom/scripts/systemhtml.py |
@@ -515,10 +515,15 @@ class HtmlDartInterfaceGenerator(object): |
GetAnnotationsAndComments(self._library_name, |
self._interface.doc_js_name), '') |
+ class_modifiers = '' |
+ if self._renamer.ShouldSuppressInterface(self._interface): |
+ class_modifiers = 'abstract ' |
+ |
self._implementation_members_emitter = implementation_emitter.Emit( |
self._backend.ImplementationTemplate(), |
LIBRARYNAME='dart.dom.%s' % self._library_name, |
ANNOTATIONS=annotations, |
+ CLASS_MODIFIERS=class_modifiers, |
CLASSNAME=self._interface_type_info.implementation_name(), |
EXTENDS=' extends %s' % base_class if base_class else '', |
IMPLEMENTS=implements_str, |