| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 'success': 'success', | 174 'success': 'success', |
| 175 'suspend': 'suspend', | 175 'suspend': 'suspend', |
| 176 'timeupdate': 'timeUpdate', | 176 'timeupdate': 'timeUpdate', |
| 177 'touchcancel': 'touchCancel', | 177 'touchcancel': 'touchCancel', |
| 178 'touchend': 'touchEnd', | 178 'touchend': 'touchEnd', |
| 179 'touchenter': 'touchEnter', | 179 'touchenter': 'touchEnter', |
| 180 'touchleave': 'touchLeave', | 180 'touchleave': 'touchLeave', |
| 181 'touchmove': 'touchMove', | 181 'touchmove': 'touchMove', |
| 182 'touchstart': 'touchStart', | 182 'touchstart': 'touchStart', |
| 183 'unload': 'unload', | 183 'unload': 'unload', |
| 184 'upgradeneeded': 'upgradeNeeded', |
| 184 'unmute': 'unmute', | 185 'unmute': 'unmute', |
| 185 'updateready': 'updateReady', | 186 'updateready': 'updateReady', |
| 186 'versionchange': 'versionChange', | 187 'versionchange': 'versionChange', |
| 187 'volumechange': 'volumeChange', | 188 'volumechange': 'volumeChange', |
| 188 'waiting': 'waiting', | 189 'waiting': 'waiting', |
| 189 'webkitAnimationEnd': 'animationEnd', | 190 'webkitAnimationEnd': 'animationEnd', |
| 190 'webkitAnimationIteration': 'animationIteration', | 191 'webkitAnimationIteration': 'animationIteration', |
| 191 'webkitAnimationStart': 'animationStart', | 192 'webkitAnimationStart': 'animationStart', |
| 192 'webkitfullscreenchange': 'fullscreenChange', | 193 'webkitfullscreenchange': 'fullscreenChange', |
| 193 'webkitfullscreenerror': 'fullscreenError', | 194 'webkitfullscreenerror': 'fullscreenError', |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 return HtmlDart2JSClassGenerator(self, interface) | 1021 return HtmlDart2JSClassGenerator(self, interface) |
| 1021 | 1022 |
| 1022 def GenerateLibraries(self, dart_files): | 1023 def GenerateLibraries(self, dart_files): |
| 1023 self._GenerateLibFile( | 1024 self._GenerateLibFile( |
| 1024 'html_dart2js.darttemplate', | 1025 'html_dart2js.darttemplate', |
| 1025 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1026 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1026 dart_files) | 1027 dart_files) |
| 1027 | 1028 |
| 1028 def Finish(self): | 1029 def Finish(self): |
| 1029 pass | 1030 pass |
| OLD | NEW |