| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 'Element.insertAdjacentHTML', | 48 'Element.insertAdjacentHTML', |
| 49 'Element.insertAdjacentText', | 49 'Element.insertAdjacentText', |
| 50 'Element.webkitMatchesSelector', | 50 'Element.webkitMatchesSelector', |
| 51 'Element.remove', | 51 'Element.remove', |
| 52 'ElementEvents.mouseWheel', | 52 'ElementEvents.mouseWheel', |
| 53 'ElementEvents.transitionEnd', | 53 'ElementEvents.transitionEnd', |
| 54 'DOMException.name', | 54 'DOMException.name', |
| 55 'HTMLTableElement.createTBody', | 55 'HTMLTableElement.createTBody', |
| 56 'IDBDatabase.transaction', | 56 'IDBDatabase.transaction', |
| 57 'KeyboardEvent.initKeyboardEvent', | 57 'KeyboardEvent.initKeyboardEvent', |
| 58 'Location.origin', |
| 58 'MouseEvent.offsetX', | 59 'MouseEvent.offsetX', |
| 59 'MouseEvent.offsetY', | 60 'MouseEvent.offsetY', |
| 60 'Navigator.language', | 61 'Navigator.language', |
| 61 'Navigator.webkitGetUserMedia', | 62 'Navigator.webkitGetUserMedia', |
| 62 'ScriptProcessorNode._setEventListener', | 63 'ScriptProcessorNode._setEventListener', |
| 63 'URL.createObjectURL', | 64 'URL.createObjectURL', |
| 64 'URL.revokeObjectURL', | 65 'URL.revokeObjectURL', |
| 65 'WheelEvent.deltaMode', | 66 'WheelEvent.deltaMode', |
| 66 'WheelEvent.wheelDeltaX', | 67 'WheelEvent.wheelDeltaX', |
| 67 'WheelEvent.wheelDeltaY', | 68 'WheelEvent.wheelDeltaY', |
| (...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 for library_name in libraries: | 1157 for library_name in libraries: |
| 1157 self._libraries[library_name] = DartLibrary( | 1158 self._libraries[library_name] = DartLibrary( |
| 1158 library_name, template_loader, library_type, output_dir) | 1159 library_name, template_loader, library_type, output_dir) |
| 1159 | 1160 |
| 1160 def AddFile(self, basename, library_name, path): | 1161 def AddFile(self, basename, library_name, path): |
| 1161 self._libraries[library_name].AddFile(path) | 1162 self._libraries[library_name].AddFile(path) |
| 1162 | 1163 |
| 1163 def Emit(self, emitter, auxiliary_dir): | 1164 def Emit(self, emitter, auxiliary_dir): |
| 1164 for lib in self._libraries.values(): | 1165 for lib in self._libraries.values(): |
| 1165 lib.Emit(emitter, auxiliary_dir) | 1166 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |