| Index: lib/html/scripts/htmlrenamer.py
|
| diff --git a/lib/html/scripts/htmlrenamer.py b/lib/html/scripts/htmlrenamer.py
|
| index 10a231c105f3cce451696ee9f0675dcde50f514c..58ace7b6321dbcdae2b3d44ac4bff993ff712c01 100644
|
| --- a/lib/html/scripts/htmlrenamer.py
|
| +++ b/lib/html/scripts/htmlrenamer.py
|
| @@ -5,7 +5,9 @@
|
|
|
| html_interface_renames = {
|
| 'DOMFormData': 'FormData',
|
| - 'DOMWindow': 'Window',
|
| + 'DOMWindow': 'LocalWindow',
|
| + 'History': 'LocalHistory',
|
| + 'Location': 'LocalLocation',
|
| 'WebKitAnimation': 'Animation',
|
| 'WebKitAnimationEvent': 'AnimationEvent',
|
| 'WebKitAnimationList': 'AnimationList',
|
| @@ -91,7 +93,7 @@ _private_html_members = set([
|
| 'Storage.key',
|
| 'Storage.removeItem',
|
| 'Storage.setItem',
|
| - 'Window.getComputedStyle',
|
| + 'LocalWindow.getComputedStyle',
|
| ])
|
|
|
| # Members from the standard dom that exist in the dart:html library with
|
| @@ -109,9 +111,9 @@ _renamed_html_members = {
|
| 'SVGElement.className': '$dom_svgClassName',
|
| 'SVGAnimatedString.className': '$dom_svgClassName',
|
| 'SVGStylable.className': '$dom_svgClassName',
|
| - 'Window.webkitCancelAnimationFrame': 'cancelAnimationFrame',
|
| - 'Window.webkitCancelRequestAnimationFrame': 'cancelRequestAnimationFrame',
|
| - 'Window.webkitRequestAnimationFrame': 'requestAnimationFrame',
|
| + 'LocalWindow.webkitCancelAnimationFrame': 'cancelAnimationFrame',
|
| + 'LocalWindow.webkitCancelRequestAnimationFrame': 'cancelRequestAnimationFrame',
|
| + 'LocalWindow.webkitRequestAnimationFrame': 'requestAnimationFrame',
|
| }
|
|
|
| # Members and classes from the dom that should be removed completely from
|
| @@ -277,8 +279,8 @@ _removed_html_members = set([
|
| "WheelEvent.wheelDelta",
|
| "WheelEvent.wheelDeltaX",
|
| "WheelEvent.wheelDeltaY",
|
| - "Window.get:frameElement",
|
| - "Window.webkitCancelRequestAnimationFrame",
|
| + "LocalWindow.get:frameElement",
|
| + "LocalWindow.webkitCancelRequestAnimationFrame",
|
| ])
|
|
|
| class HtmlRenamer(object):
|
|
|