| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 'loadedmetadata': 'loadedMetadata', | 124 'loadedmetadata': 'loadedMetadata', |
| 125 'loadend': 'loadEnd', | 125 'loadend': 'loadEnd', |
| 126 'loadstart': 'loadStart', | 126 'loadstart': 'loadStart', |
| 127 'message': 'message', | 127 'message': 'message', |
| 128 'mousedown': 'mouseDown', | 128 'mousedown': 'mouseDown', |
| 129 'mousemove': 'mouseMove', | 129 'mousemove': 'mouseMove', |
| 130 'mouseout': 'mouseOut', | 130 'mouseout': 'mouseOut', |
| 131 'mouseover': 'mouseOver', | 131 'mouseover': 'mouseOver', |
| 132 'mouseup': 'mouseUp', | 132 'mouseup': 'mouseUp', |
| 133 'mousewheel': 'mouseWheel', | 133 'mousewheel': 'mouseWheel', |
| 134 'mute': 'mute', |
| 134 'nomatch': 'noMatch', | 135 'nomatch': 'noMatch', |
| 135 'noupdate': 'noUpdate', | 136 'noupdate': 'noUpdate', |
| 136 'obsolete': 'obsolete', | 137 'obsolete': 'obsolete', |
| 137 'offline': 'offline', | 138 'offline': 'offline', |
| 138 'online': 'online', | 139 'online': 'online', |
| 139 'open': 'open', | 140 'open': 'open', |
| 140 'pagehide': 'pageHide', | 141 'pagehide': 'pageHide', |
| 141 'pageshow': 'pageShow', | 142 'pageshow': 'pageShow', |
| 142 'paste': 'paste', | 143 'paste': 'paste', |
| 143 'pause': 'pause', | 144 'pause': 'pause', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 173 'success': 'success', | 174 'success': 'success', |
| 174 'suspend': 'suspend', | 175 'suspend': 'suspend', |
| 175 'timeupdate': 'timeUpdate', | 176 'timeupdate': 'timeUpdate', |
| 176 'touchcancel': 'touchCancel', | 177 'touchcancel': 'touchCancel', |
| 177 'touchend': 'touchEnd', | 178 'touchend': 'touchEnd', |
| 178 'touchenter': 'touchEnter', | 179 'touchenter': 'touchEnter', |
| 179 'touchleave': 'touchLeave', | 180 'touchleave': 'touchLeave', |
| 180 'touchmove': 'touchMove', | 181 'touchmove': 'touchMove', |
| 181 'touchstart': 'touchStart', | 182 'touchstart': 'touchStart', |
| 182 'unload': 'unload', | 183 'unload': 'unload', |
| 184 'unmute': 'unmute', |
| 183 'updateready': 'updateReady', | 185 'updateready': 'updateReady', |
| 184 'versionchange': 'versionChange', | 186 'versionchange': 'versionChange', |
| 185 'volumechange': 'volumeChange', | 187 'volumechange': 'volumeChange', |
| 186 'waiting': 'waiting', | 188 'waiting': 'waiting', |
| 187 'webkitAnimationEnd': 'animationEnd', | 189 'webkitAnimationEnd': 'animationEnd', |
| 188 'webkitAnimationIteration': 'animationIteration', | 190 'webkitAnimationIteration': 'animationIteration', |
| 189 'webkitAnimationStart': 'animationStart', | 191 'webkitAnimationStart': 'animationStart', |
| 190 'webkitfullscreenchange': 'fullscreenChange', | 192 'webkitfullscreenchange': 'fullscreenChange', |
| 191 'webkitfullscreenerror': 'fullscreenError', | 193 'webkitfullscreenerror': 'fullscreenError', |
| 192 'webkitkeyadded': 'keyAdded', | 194 'webkitkeyadded': 'keyAdded', |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 return HtmlDart2JSClassGenerator(self, interface) | 1010 return HtmlDart2JSClassGenerator(self, interface) |
| 1009 | 1011 |
| 1010 def GenerateLibraries(self, dart_files): | 1012 def GenerateLibraries(self, dart_files): |
| 1011 self._GenerateLibFile( | 1013 self._GenerateLibFile( |
| 1012 'html_dart2js.darttemplate', | 1014 'html_dart2js.darttemplate', |
| 1013 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1015 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1014 dart_files) | 1016 dart_files) |
| 1015 | 1017 |
| 1016 def Finish(self): | 1018 def Finish(self): |
| 1017 pass | 1019 pass |
| OLD | NEW |