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

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

Issue 12025027: Cleaning up event constructors (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
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index 53488dd664ea3a6f11daf195d4b0412e5afc8aa1..b2ff31ddb6edcfb9010a32237dc3ba59aa53c875 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -49,7 +49,9 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
# but need to be exposed internally to implement dart:html on top of a standard
# browser.
_private_html_members = monitored.Set('htmlrenamer._private_html_members', [
+ 'CompositionEvent.initCompositionEvent',
'CustomEvent.initCustomEvent',
+ 'DeviceOrientationEvent.initDeviceOrientationEvent',
'Document.createElement',
'Document.createElementNS',
'Document.createEvent',
@@ -112,9 +114,12 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'EventTarget.addEventListener',
'EventTarget.dispatchEvent',
'EventTarget.removeEventListener',
+ 'HashChangeEvent.initHashChangeEvent',
'KeyboardEvent.initKeyboardEvent',
'KeyboardEvent.keyIdentifier',
+ 'MessageEvent.initMessageEvent',
'MouseEvent.initMouseEvent',
+ 'MutationEvent.initMutationEvent',
'Node.appendChild',
'Node.attributes',
'Node.childNodes',
@@ -133,6 +138,9 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'Storage.length',
'Storage.removeItem',
'Storage.setItem',
+ 'StorageEvent.initStorageEvent',
+ 'TextEvent.initTextEvent',
+ 'TouchEvent.initTouchEvent',
'UIEvent.charCode',
'UIEvent.initUIEvent',
'UIEvent.keyCode',
@@ -402,6 +410,7 @@ _removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'HTMLTitleElement.text',
'HTMLUListElement.compact',
'HTMLUListElement.type',
+ 'MessageEvent.webkitInitMessageEvent',
'Node.compareDocumentPosition',
'Node.get:ATTRIBUTE_NODE',
'Node.get:CDATA_SECTION_NODE',

Powered by Google App Engine
This is Rietveld 408576698