| 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 30 matching lines...) Expand all Loading... |
| 41 'Element.insertAdjacentElement', | 41 'Element.insertAdjacentElement', |
| 42 'Element.insertAdjacentHTML', | 42 'Element.insertAdjacentHTML', |
| 43 'Element.insertAdjacentText', | 43 'Element.insertAdjacentText', |
| 44 'Element.remove', | 44 'Element.remove', |
| 45 'ElementEvents.mouseWheel', | 45 'ElementEvents.mouseWheel', |
| 46 'HTMLCanvasElement.getContext', | 46 'HTMLCanvasElement.getContext', |
| 47 'HTMLSelectElement.options', | 47 'HTMLSelectElement.options', |
| 48 'HTMLSelectElement.selectedOptions', | 48 'HTMLSelectElement.selectedOptions', |
| 49 'HTMLTableElement.createTBody', | 49 'HTMLTableElement.createTBody', |
| 50 'IDBDatabase.transaction', | 50 'IDBDatabase.transaction', |
| 51 'KeyboardEvent.initKeyboardEvent', | |
| 52 'MouseEvent.offsetX', | 51 'MouseEvent.offsetX', |
| 53 'MouseEvent.offsetY', | 52 'MouseEvent.offsetY', |
| 54 'Navigator.language', | 53 'Navigator.language', |
| 55 'URL.createObjectURL', | 54 'URL.createObjectURL', |
| 56 'URL.revokeObjectURL', | 55 'URL.revokeObjectURL', |
| 57 'WheelEvent.wheelDeltaX', | 56 'WheelEvent.wheelDeltaX', |
| 58 'WheelEvent.wheelDeltaY', | 57 'WheelEvent.wheelDeltaY', |
| 59 'Window.cancelAnimationFrame', | 58 'Window.cancelAnimationFrame', |
| 60 'Window.console', | 59 'Window.console', |
| 61 'Window.document', | 60 'Window.document', |
| (...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 for library_name in libraries: | 1010 for library_name in libraries: |
| 1012 self._libraries[library_name] = DartLibrary( | 1011 self._libraries[library_name] = DartLibrary( |
| 1013 library_name, template_loader, library_type, output_dir) | 1012 library_name, template_loader, library_type, output_dir) |
| 1014 | 1013 |
| 1015 def AddFile(self, basename, library_name, path): | 1014 def AddFile(self, basename, library_name, path): |
| 1016 self._libraries[library_name].AddFile(path) | 1015 self._libraries[library_name].AddFile(path) |
| 1017 | 1016 |
| 1018 def Emit(self, emitter, auxiliary_dir): | 1017 def Emit(self, emitter, auxiliary_dir): |
| 1019 for lib in self._libraries.values(): | 1018 for lib in self._libraries.values(): |
| 1020 lib.Emit(emitter, auxiliary_dir) | 1019 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |