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

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 12095088: "Reverting 17940" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « tools/dom/scripts/htmldartgenerator.py ('k') | tools/dom/scripts/monitored.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index 69b90af774eeba75c651ee50d2b8362c2c2fc0c1..6fb4c86d603ab5a4149e698ab38a30b9d1c53ed0 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -16,7 +16,15 @@ 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',
@@ -38,42 +46,6 @@ 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.
« no previous file with comments | « tools/dom/scripts/htmldartgenerator.py ('k') | tools/dom/scripts/monitored.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698