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

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

Issue 19789017: Regenerate dart:html from new Blink IDL files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More fixes Created 7 years, 5 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/generator.py ('k') | no next file » | 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 d0b1d7865f45ca0f1ad03b331a5af50fce7f96b7..0f440513890019369f8d541cca9ff4b99e91b876 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -52,7 +52,6 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames',
'RTCSessionDescriptionCallback': '_RtcSessionDescriptionCallback',
'SVGDocument': 'SvgDocument', # Manual to avoid name conflicts.
'SVGElement': 'SvgElement', # Manual to avoid name conflicts.
- 'SVGException': 'SvgException', # Manual of avoid conflict with Exception.
'SVGGradientElement': '_GradientElement',
'SVGSVGElement': 'SvgSvgElement', # Manual to avoid name conflicts.
'Stream': 'FileStream',
@@ -217,9 +216,6 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'Element.setAttributeNS',
'Element.setAttribute',
'Element.setAttributeNS',
- 'ElementTraversal.childElementCount',
- 'ElementTraversal.firstElementChild',
- 'ElementTraversal.lastElementChild',
'Event.initEvent',
'EventTarget.addEventListener',
'EventTarget.removeEventListener',
@@ -313,7 +309,7 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
# identical functionality but with cleaner names.
renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'CanvasRenderingContext2D.drawImage': '_drawImage',
- 'CSSKeyframesRule.insertRule': 'appendRule',
+ 'WebKitCSSKeyframesRule.insertRule': 'appendRule',
'CSSStyleDeclaration.getPropertyValue': '_getPropertyValue',
'CSSStyleDeclaration.setProperty': '_setProperty',
'DirectoryEntry.getDirectory': '_getDirectory',
@@ -381,8 +377,6 @@ renamed_overloads = monitored.Dict('htmldartgenreator.renamed_overloads', {
'RTCDataChannel.send(Blob data)': 'sendBlob',
'RTCDataChannel.send(DOMString data)': 'sendString',
'SourceBuffer.appendBuffer(ArrayBufferView view)': 'appendBufferView',
- 'URL.createObjectURL(WebKitMediaSource source)':
- '_createObjectUrlFromWebKitMediaSource',
'URL.createObjectURL(MediaSource source)':
'createObjectUrlFromSource',
'URL.createObjectURL(MediaStream stream)': 'createObjectUrlFromStream',
@@ -530,32 +524,32 @@ removed_html_members = monitored.Set('htmlrenamer.removed_html_members', [
'Document.xmlVersion',
'DocumentFragment.children',
'DocumentType.*',
- 'DOMCoreException.code',
- 'DOMCoreException.ABORT_ERR',
- 'DOMCoreException.DATA_CLONE_ERR',
- 'DOMCoreException.DOMSTRING_SIZE_ERR',
- 'DOMCoreException.HIERARCHY_REQUEST_ERR',
- 'DOMCoreException.INDEX_SIZE_ERR',
- 'DOMCoreException.INUSE_ATTRIBUTE_ERR',
- 'DOMCoreException.INVALID_ACCESS_ERR',
- 'DOMCoreException.INVALID_CHARACTER_ERR',
- 'DOMCoreException.INVALID_MODIFICATION_ERR',
- 'DOMCoreException.INVALID_NODE_TYPE_ERR',
- 'DOMCoreException.INVALID_STATE_ERR',
- 'DOMCoreException.NAMESPACE_ERR',
- 'DOMCoreException.NETWORK_ERR',
- 'DOMCoreException.NOT_FOUND_ERR',
- 'DOMCoreException.NOT_SUPPORTED_ERR',
- 'DOMCoreException.NO_DATA_ALLOWED_ERR',
- 'DOMCoreException.NO_MODIFICATION_ALLOWED_ERR',
- 'DOMCoreException.QUOTA_EXCEEDED_ERR',
- 'DOMCoreException.SECURITY_ERR',
- 'DOMCoreException.SYNTAX_ERR',
- 'DOMCoreException.TIMEOUT_ERR',
- 'DOMCoreException.TYPE_MISMATCH_ERR',
- 'DOMCoreException.URL_MISMATCH_ERR',
- 'DOMCoreException.VALIDATION_ERR',
- 'DOMCoreException.WRONG_DOCUMENT_ERR',
+ 'DOMException.code',
+ 'DOMException.ABORT_ERR',
+ 'DOMException.DATA_CLONE_ERR',
+ 'DOMException.DOMSTRING_SIZE_ERR',
+ 'DOMException.HIERARCHY_REQUEST_ERR',
+ 'DOMException.INDEX_SIZE_ERR',
+ 'DOMException.INUSE_ATTRIBUTE_ERR',
+ 'DOMException.INVALID_ACCESS_ERR',
+ 'DOMException.INVALID_CHARACTER_ERR',
+ 'DOMException.INVALID_MODIFICATION_ERR',
+ 'DOMException.INVALID_NODE_TYPE_ERR',
+ 'DOMException.INVALID_STATE_ERR',
+ 'DOMException.NAMESPACE_ERR',
+ 'DOMException.NETWORK_ERR',
+ 'DOMException.NOT_FOUND_ERR',
+ 'DOMException.NOT_SUPPORTED_ERR',
+ 'DOMException.NO_DATA_ALLOWED_ERR',
+ 'DOMException.NO_MODIFICATION_ALLOWED_ERR',
+ 'DOMException.QUOTA_EXCEEDED_ERR',
+ 'DOMException.SECURITY_ERR',
+ 'DOMException.SYNTAX_ERR',
+ 'DOMException.TIMEOUT_ERR',
+ 'DOMException.TYPE_MISMATCH_ERR',
+ 'DOMException.URL_MISMATCH_ERR',
+ 'DOMException.VALIDATION_ERR',
+ 'DOMException.WRONG_DOCUMENT_ERR',
'Element.accessKey',
'Element.dataset',
'Element.get:classList',
« no previous file with comments | « tools/dom/scripts/generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698