| Index: lib/dom/scripts/generator.py
|
| diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
|
| index 60406caa06fcfc4b9b2d481ca4fb175364cb9241..e5733dc33e8c99bbd2b1c034550f0033e89dc150 100644
|
| --- a/lib/dom/scripts/generator.py
|
| +++ b/lib/dom/scripts/generator.py
|
| @@ -30,12 +30,6 @@ def IsPureInterface(interface_name):
|
| return interface_name in _pure_interfaces
|
|
|
| #
|
| -# Identifiers that are used in the IDL than need to be treated specially because
|
| -# *some* JavaScript processors forbid them as properties.
|
| -#
|
| -_javascript_keywords = ['delete', 'continue']
|
| -
|
| -#
|
| # Renames for attributes that have names that are not legal Dart names.
|
| #
|
| _dart_attribute_renames = {
|
| @@ -60,26 +54,6 @@ interface_factories = {
|
| }
|
|
|
| #
|
| -# Custom methods that must be implemented by hand.
|
| -#
|
| -_custom_methods = set([
|
| - ('DOMWindow', 'setInterval'),
|
| - ('DOMWindow', 'setTimeout'),
|
| - ('WorkerContext', 'setInterval'),
|
| - ('WorkerContext', 'setTimeout'),
|
| - ('CanvasRenderingContext2D', 'setFillStyle'),
|
| - ('CanvasRenderingContext2D', 'setStrokeStyle'),
|
| - ('CanvasRenderingContext2D', 'setFillStyle'),
|
| - ])
|
| -
|
| -#
|
| -# Custom getters that must be implemented by hand.
|
| -#
|
| -_custom_getters = set([
|
| - ('DOMWindow', 'localStorage'),
|
| - ])
|
| -
|
| -#
|
| # Custom native specs for the Frog dom.
|
| #
|
| _frog_dom_custom_native_specs = {
|
| @@ -92,18 +66,6 @@ _frog_dom_custom_native_specs = {
|
| }
|
|
|
| #
|
| -# Simple method substitution when one method had different names on different
|
| -# browsers, but are otherwise identical. The alternates are tried in order and
|
| -# the first one defined is used.
|
| -#
|
| -# This can be probably be removed when Chrome renames initWebKitWheelEvent to
|
| -# initWheelEvent.
|
| -#
|
| -_alternate_methods = {
|
| - ('WheelEvent', 'initWheelEvent'): ['initWebKitWheelEvent', 'initWheelEvent']
|
| -}
|
| -
|
| -#
|
| # Custom native bodies for frog implementations of dom operations that appear in
|
| # dart:dom and dart:html. This is used to work-around the lack of a 'rename'
|
| # feature in the 'native' string - the correct name is available on the DartName
|
|
|