| Index: tools/dom/scripts/htmlrenamer.py
|
| diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
|
| index 6fb4c86d603ab5a4149e698ab38a30b9d1c53ed0..69b90af774eeba75c651ee50d2b8362c2c2fc0c1 100644
|
| --- a/tools/dom/scripts/htmlrenamer.py
|
| +++ b/tools/dom/scripts/htmlrenamer.py
|
| @@ -16,15 +16,7 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
|
| 'DOMFormData': 'FormData',
|
| 'DOMURL': 'Url',
|
| 'DOMWindow': 'Window',
|
| - 'HTMLAppletElement' : '_AppletElement',
|
| - 'HTMLBaseFontElement' : '_BaseFontElement',
|
| - 'HTMLDirectoryElement' : '_DirectoryElement',
|
| 'HTMLDocument' : 'HtmlDocument',
|
| - 'HTMLFontElement' : '_FontElement',
|
| - 'HTMLFrameElement' : '_FrameElement',
|
| - 'HTMLFrameSetElement' : '_FrameSetElement',
|
| - 'HTMLMarqueeElement' : '_MarqueeElement',
|
| - 'IDBAny': '_Any', # Suppressed, but needs to exist for Dartium.
|
| 'IDBFactory': 'IdbFactory', # Manual to avoid name conflicts.
|
| 'NavigatorUserMediaErrorCallback': '_NavigatorUserMediaErrorCallback',
|
| 'NavigatorUserMediaSuccessCallback': '_NavigatorUserMediaSuccessCallback',
|
| @@ -46,6 +38,42 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
|
| 'XMLHttpRequestUpload': 'HttpRequestUpload',
|
| })
|
|
|
| +# Interfaces that are suppressed, but need to still exist for Dartium and to
|
| +# properly wrap DOM objects if/when encountered.
|
| +_removed_html_interfaces = [
|
| + 'HTMLAppletElement',
|
| + 'HTMLBaseFontElement',
|
| + 'HTMLDirectoryElement',
|
| + 'HTMLFontElement',
|
| + 'HTMLFrameElement',
|
| + 'HTMLFrameSetElement',
|
| + 'HTMLMarqueeElement',
|
| + 'IDBAny',
|
| + 'SVGAltGlyphDefElement', # Webkit only.
|
| + 'SVGAltGlyphItemElement', # Webkit only.
|
| + 'SVGAnimateColorElement', # Deprecated. Use AnimateElement instead.
|
| + 'SVGComponentTransferFunctionElement', # Currently not supported anywhere.
|
| + 'SVGCursorElement', # Webkit only.
|
| + 'SVGGradientElement', # Currently not supported anywhere.
|
| + 'SVGFEDropShadowElement', # Webkit only for the following:
|
| + 'SVGFontElement',
|
| + 'SVGFontFaceElement',
|
| + 'SVGFontFaceFormatElement',
|
| + 'SVGFontFaceNameElement',
|
| + 'SVGFontFaceSrcElement',
|
| + 'SVGFontFaceUriElement',
|
| + 'SVGGlyphElement',
|
| + 'SVGGlyphRefElement',
|
| + 'SVGHKernElement',
|
| + 'SVGMissingGlyphElement',
|
| + 'SVGMPathElement',
|
| + 'SVGTRefElement',
|
| + 'SVGVKernElement',
|
| +]
|
| +
|
| +for interface in _removed_html_interfaces:
|
| + html_interface_renames[interface] = '_' + interface
|
| +
|
| # Members from the standard dom that should not be exposed publicly in dart:html
|
| # but need to be exposed internally to implement dart:html on top of a standard
|
| # browser.
|
|
|