| 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 logging | 10 import logging |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 'IDBDatabase.transaction', | 60 'IDBDatabase.transaction', |
| 61 'KeyboardEvent.initKeyboardEvent', | 61 'KeyboardEvent.initKeyboardEvent', |
| 62 'Location.origin', | 62 'Location.origin', |
| 63 'MouseEvent.offsetX', | 63 'MouseEvent.offsetX', |
| 64 'MouseEvent.offsetY', | 64 'MouseEvent.offsetY', |
| 65 'Navigator.language', | 65 'Navigator.language', |
| 66 'Navigator.webkitGetUserMedia', | 66 'Navigator.webkitGetUserMedia', |
| 67 'ScriptProcessorNode._setEventListener', | 67 'ScriptProcessorNode._setEventListener', |
| 68 'URL.createObjectURL', | 68 'URL.createObjectURL', |
| 69 'URL.revokeObjectURL', | 69 'URL.revokeObjectURL', |
| 70 'WebGLRenderingContext.texImage2D', |
| 71 'WebGLRenderingContext.texSubImage2D', |
| 70 'WheelEvent.deltaMode', | 72 'WheelEvent.deltaMode', |
| 71 'WheelEvent.wheelDeltaX', | 73 'WheelEvent.wheelDeltaX', |
| 72 'WheelEvent.wheelDeltaY', | 74 'WheelEvent.wheelDeltaY', |
| 73 'Window.cancelAnimationFrame', | 75 'Window.cancelAnimationFrame', |
| 74 'Window.console', | 76 'Window.console', |
| 75 'Window.document', | 77 'Window.document', |
| 76 'Window.indexedDB', | 78 'Window.indexedDB', |
| 77 'Window.location', | 79 'Window.location', |
| 78 'Window.open', | 80 'Window.open', |
| 79 'Window.requestAnimationFrame', | 81 'Window.requestAnimationFrame', |
| (...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 for library_name in libraries: | 1195 for library_name in libraries: |
| 1194 self._libraries[library_name] = DartLibrary( | 1196 self._libraries[library_name] = DartLibrary( |
| 1195 library_name, template_loader, library_type, output_dir) | 1197 library_name, template_loader, library_type, output_dir) |
| 1196 | 1198 |
| 1197 def AddFile(self, basename, library_name, path): | 1199 def AddFile(self, basename, library_name, path): |
| 1198 self._libraries[library_name].AddFile(path) | 1200 self._libraries[library_name].AddFile(path) |
| 1199 | 1201 |
| 1200 def Emit(self, emitter, auxiliary_dir): | 1202 def Emit(self, emitter, auxiliary_dir): |
| 1201 for lib in self._libraries.values(): | 1203 for lib in self._libraries.values(): |
| 1202 lib.Emit(emitter, auxiliary_dir) | 1204 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |