| 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 import monitored | 10 import monitored |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 'ElementEvents.mouseWheel', | 50 'ElementEvents.mouseWheel', |
| 51 'ElementEvents.transitionEnd', | 51 'ElementEvents.transitionEnd', |
| 52 'DOMException.name', | 52 'DOMException.name', |
| 53 'HTMLTableElement.createTBody', | 53 'HTMLTableElement.createTBody', |
| 54 'IDBDatabase.transaction', | 54 'IDBDatabase.transaction', |
| 55 'KeyboardEvent.initKeyboardEvent', | 55 'KeyboardEvent.initKeyboardEvent', |
| 56 'MouseEvent.offsetX', | 56 'MouseEvent.offsetX', |
| 57 'MouseEvent.offsetY', | 57 'MouseEvent.offsetY', |
| 58 'Navigator.language', | 58 'Navigator.language', |
| 59 'Navigator.webkitGetUserMedia', | 59 'Navigator.webkitGetUserMedia', |
| 60 'ScriptProcessorNode._setEventListener', |
| 60 'URL.createObjectURL', | 61 'URL.createObjectURL', |
| 61 'URL.revokeObjectURL', | 62 'URL.revokeObjectURL', |
| 62 'WheelEvent.deltaMode', | 63 'WheelEvent.deltaMode', |
| 63 'WheelEvent.wheelDeltaX', | 64 'WheelEvent.wheelDeltaX', |
| 64 'WheelEvent.wheelDeltaY', | 65 'WheelEvent.wheelDeltaY', |
| 65 'Window.cancelAnimationFrame', | 66 'Window.cancelAnimationFrame', |
| 66 'Window.console', | 67 'Window.console', |
| 67 'Window.document', | 68 'Window.document', |
| 68 'Window.indexedDB', | 69 'Window.indexedDB', |
| 69 'Window.location', | 70 'Window.location', |
| (...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 for library_name in libraries: | 1138 for library_name in libraries: |
| 1138 self._libraries[library_name] = DartLibrary( | 1139 self._libraries[library_name] = DartLibrary( |
| 1139 library_name, template_loader, library_type, output_dir) | 1140 library_name, template_loader, library_type, output_dir) |
| 1140 | 1141 |
| 1141 def AddFile(self, basename, library_name, path): | 1142 def AddFile(self, basename, library_name, path): |
| 1142 self._libraries[library_name].AddFile(path) | 1143 self._libraries[library_name].AddFile(path) |
| 1143 | 1144 |
| 1144 def Emit(self, emitter, auxiliary_dir): | 1145 def Emit(self, emitter, auxiliary_dir): |
| 1145 for lib in self._libraries.values(): | 1146 for lib in self._libraries.values(): |
| 1146 lib.Emit(emitter, auxiliary_dir) | 1147 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |