| 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 os | 10 import os |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 'Element.remove', | 46 'Element.remove', |
| 47 'ElementEvents.mouseWheel', | 47 'ElementEvents.mouseWheel', |
| 48 'DOMException.name', | 48 'DOMException.name', |
| 49 'HTMLCanvasElement.getContext', | 49 'HTMLCanvasElement.getContext', |
| 50 'HTMLTableElement.createTBody', | 50 'HTMLTableElement.createTBody', |
| 51 'IDBDatabase.transaction', | 51 'IDBDatabase.transaction', |
| 52 'KeyboardEvent.initKeyboardEvent', | 52 'KeyboardEvent.initKeyboardEvent', |
| 53 'MouseEvent.offsetX', | 53 'MouseEvent.offsetX', |
| 54 'MouseEvent.offsetY', | 54 'MouseEvent.offsetY', |
| 55 'Navigator.language', | 55 'Navigator.language', |
| 56 'Navigator.webkitGetUserMedia', |
| 56 'URL.createObjectURL', | 57 'URL.createObjectURL', |
| 57 'URL.revokeObjectURL', | 58 'URL.revokeObjectURL', |
| 58 'WheelEvent.wheelDeltaX', | 59 'WheelEvent.wheelDeltaX', |
| 59 'WheelEvent.wheelDeltaY', | 60 'WheelEvent.wheelDeltaY', |
| 60 'Window.cancelAnimationFrame', | 61 'Window.cancelAnimationFrame', |
| 61 'Window.console', | 62 'Window.console', |
| 62 'Window.document', | 63 'Window.document', |
| 63 'Window.indexedDB', | 64 'Window.indexedDB', |
| 64 'Window.location', | 65 'Window.location', |
| 65 'Window.open', | 66 'Window.open', |
| (...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 for library_name in libraries: | 1045 for library_name in libraries: |
| 1045 self._libraries[library_name] = DartLibrary( | 1046 self._libraries[library_name] = DartLibrary( |
| 1046 library_name, template_loader, library_type, output_dir) | 1047 library_name, template_loader, library_type, output_dir) |
| 1047 | 1048 |
| 1048 def AddFile(self, basename, library_name, path): | 1049 def AddFile(self, basename, library_name, path): |
| 1049 self._libraries[library_name].AddFile(path) | 1050 self._libraries[library_name].AddFile(path) |
| 1050 | 1051 |
| 1051 def Emit(self, emitter, auxiliary_dir): | 1052 def Emit(self, emitter, auxiliary_dir): |
| 1052 for lib in self._libraries.values(): | 1053 for lib in self._libraries.values(): |
| 1053 lib.Emit(emitter, auxiliary_dir) | 1054 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |