| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 """This module provides shared functionality for the system to generate | 6 """This module provides shared functionality for the system to generate |
| 7 Dart:html APIs from the IDL database.""" | 7 Dart:html APIs from the IDL database.""" |
| 8 | 8 |
| 9 import emitter | 9 import emitter |
| 10 | 10 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 'loadend': 'loadEnd', | 132 'loadend': 'loadEnd', |
| 133 'loadstart': 'loadStart', | 133 'loadstart': 'loadStart', |
| 134 'message': 'message', | 134 'message': 'message', |
| 135 'mousedown': 'mouseDown', | 135 'mousedown': 'mouseDown', |
| 136 'mousemove': 'mouseMove', | 136 'mousemove': 'mouseMove', |
| 137 'mouseout': 'mouseOut', | 137 'mouseout': 'mouseOut', |
| 138 'mouseover': 'mouseOver', | 138 'mouseover': 'mouseOver', |
| 139 'mouseup': 'mouseUp', | 139 'mouseup': 'mouseUp', |
| 140 'mousewheel': 'mouseWheel', | 140 'mousewheel': 'mouseWheel', |
| 141 'mute': 'mute', | 141 'mute': 'mute', |
| 142 'negotationneeded': 'negotationNeeded', |
| 142 'nomatch': 'noMatch', | 143 'nomatch': 'noMatch', |
| 143 'noupdate': 'noUpdate', | 144 'noupdate': 'noUpdate', |
| 144 'obsolete': 'obsolete', | 145 'obsolete': 'obsolete', |
| 145 'offline': 'offline', | 146 'offline': 'offline', |
| 146 'online': 'online', | 147 'online': 'online', |
| 147 'open': 'open', | 148 'open': 'open', |
| 148 'pagehide': 'pageHide', | 149 'pagehide': 'pageHide', |
| 149 'pageshow': 'pageShow', | 150 'pageshow': 'pageShow', |
| 150 'paste': 'paste', | 151 'paste': 'paste', |
| 151 'pause': 'pause', | 152 'pause': 'pause', |
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 return HtmlDart2JSClassGenerator(self, interface) | 1234 return HtmlDart2JSClassGenerator(self, interface) |
| 1234 | 1235 |
| 1235 def GenerateLibraries(self, dart_files): | 1236 def GenerateLibraries(self, dart_files): |
| 1236 self._GenerateLibFile( | 1237 self._GenerateLibFile( |
| 1237 'html_dart2js.darttemplate', | 1238 'html_dart2js.darttemplate', |
| 1238 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1239 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1239 dart_files) | 1240 dart_files) |
| 1240 | 1241 |
| 1241 def Finish(self): | 1242 def Finish(self): |
| 1242 pass | 1243 pass |
| OLD | NEW |