| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'IDBDatabase.transactionStore', | 97 'IDBDatabase.transactionStore', |
| 98 'IDBDatabase.transactionStores', | 98 'IDBDatabase.transactionStores', |
| 99 'KeyboardEvent.initKeyboardEvent', | 99 'KeyboardEvent.initKeyboardEvent', |
| 100 'Location.origin', | 100 'Location.origin', |
| 101 'Location.toString', | 101 'Location.toString', |
| 102 'MouseEvent.offsetX', | 102 'MouseEvent.offsetX', |
| 103 'MouseEvent.offsetY', | 103 'MouseEvent.offsetY', |
| 104 'Navigator.language', | 104 'Navigator.language', |
| 105 'Navigator.webkitGetUserMedia', | 105 'Navigator.webkitGetUserMedia', |
| 106 'ScriptProcessorNode._setEventListener', | 106 'ScriptProcessorNode._setEventListener', |
| 107 'Selection.toString', | |
| 108 'URL.createObjectURL', | 107 'URL.createObjectURL', |
| 109 'URL.createObjectUrlFromSource', | 108 'URL.createObjectUrlFromSource', |
| 110 'URL.createObjectUrlFromStream', | 109 'URL.createObjectUrlFromStream', |
| 111 'URL.createObjectUrlFromBlob', | 110 'URL.createObjectUrlFromBlob', |
| 112 'URL.revokeObjectURL', | 111 'URL.revokeObjectURL', |
| 113 'URL.toString', | 112 'URL.toString', |
| 114 'WheelEvent.deltaMode', | 113 'WheelEvent.deltaMode', |
| 115 'Window.cancelAnimationFrame', | 114 'Window.cancelAnimationFrame', |
| 116 'Window.console', | 115 'Window.console', |
| 117 'Window.document', | 116 'Window.document', |
| (...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1345 | 1344 |
| 1346 def AddFile(self, basename, library_name, path): | 1345 def AddFile(self, basename, library_name, path): |
| 1347 self._libraries[library_name].AddFile(path) | 1346 self._libraries[library_name].AddFile(path) |
| 1348 | 1347 |
| 1349 def AddTypeEntry(self, library_name, idl_name, dart_name): | 1348 def AddTypeEntry(self, library_name, idl_name, dart_name): |
| 1350 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) | 1349 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) |
| 1351 | 1350 |
| 1352 def Emit(self, emitter, auxiliary_dir): | 1351 def Emit(self, emitter, auxiliary_dir): |
| 1353 for lib in self._libraries.values(): | 1352 for lib in self._libraries.values(): |
| 1354 lib.Emit(emitter, auxiliary_dir) | 1353 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |