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

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

Issue 14630016: Getting html_dart2js and html_dartium a bit more in sync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 2a512c971c31a0f4978341ba8aebc0df055cc190..41730f88685c64df3ec214294af84ef019256dc1 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -157,7 +157,6 @@ convert_to_future_members = monitored.Set(
# browser.
_private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'CanvasRenderingContext2D.arc',
- 'CanvasRenderingContext2D.drawImage',
'CompositionEvent.initCompositionEvent',
'CustomEvent.initCustomEvent',
'DeviceOrientationEvent.initDeviceOrientationEvent',
@@ -301,8 +300,6 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
'UIEvent.layerY',
'UIEvent.pageX',
'UIEvent.pageY',
- 'WheelEvent.wheelDeltaX',
- 'WheelEvent.wheelDeltaY',
'WheelEvent.initWebKitWheelEvent',
'DOMWindow.getComputedStyle',
])
@@ -310,6 +307,7 @@ _private_html_members = monitored.Set('htmlrenamer._private_html_members', [
# Members from the standard dom that exist in the dart:html library with
# identical functionality but with cleaner names.
renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
+ 'CanvasRenderingContext2D.drawImage': '_drawImage',
'CSSStyleDeclaration.getPropertyValue': '_getPropertyValue',
'CSSStyleDeclaration.setProperty': '_setProperty',
'DirectoryEntry.getDirectory': '_getDirectory',
@@ -345,6 +343,8 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'StorageInfo.queryUsageAndQuota': '_queryUsageAndQuota',
'SVGElement.className': '$dom_svgClassName',
'SVGStopElement.offset': 'gradientOffset',
+ 'WheelEvent.wheelDeltaX': '_wheelDeltaX',
+ 'WheelEvent.wheelDeltaY': '_wheelDeltaY',
#'WorkerContext.webkitRequestFileSystem': '_requestFileSystem',
#'WorkerContext.webkitRequestFileSystemSync': '_requestFileSystemSync',
})

Powered by Google App Engine
This is Rietveld 408576698