| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 'Element.insertAdjacentElement', | 54 'Element.insertAdjacentElement', |
| 55 'Element.insertAdjacentHTML', | 55 'Element.insertAdjacentHTML', |
| 56 'Element.insertAdjacentText', | 56 'Element.insertAdjacentText', |
| 57 'Element.remove', | 57 'Element.remove', |
| 58 'Element.shadowRoot', | 58 'Element.shadowRoot', |
| 59 'Element.webkitMatchesSelector', | 59 'Element.webkitMatchesSelector', |
| 60 'ElementEvents.mouseWheel', | 60 'ElementEvents.mouseWheel', |
| 61 'ElementEvents.transitionEnd', | 61 'ElementEvents.transitionEnd', |
| 62 'DOMException.name', | 62 'DOMException.name', |
| 63 'HTMLTableElement.createTBody', | 63 'HTMLTableElement.createTBody', |
| 64 'IDBCursor.next', |
| 64 'IDBDatabase.transaction', | 65 'IDBDatabase.transaction', |
| 65 'IDBDatabase.transactionList', | 66 'IDBDatabase.transactionList', |
| 66 'IDBDatabase.transactionStore', | 67 'IDBDatabase.transactionStore', |
| 67 'IDBDatabase.transactionStores', | 68 'IDBDatabase.transactionStores', |
| 68 'KeyboardEvent.initKeyboardEvent', | 69 'KeyboardEvent.initKeyboardEvent', |
| 69 'Location.origin', | 70 'Location.origin', |
| 70 'MouseEvent.offsetX', | 71 'MouseEvent.offsetX', |
| 71 'MouseEvent.offsetY', | 72 'MouseEvent.offsetY', |
| 72 'Navigator.language', | 73 'Navigator.language', |
| 73 'Navigator.webkitGetUserMedia', | 74 'Navigator.webkitGetUserMedia', |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 for library_name in libraries: | 1240 for library_name in libraries: |
| 1240 self._libraries[library_name] = DartLibrary( | 1241 self._libraries[library_name] = DartLibrary( |
| 1241 library_name, template_loader, library_type, output_dir) | 1242 library_name, template_loader, library_type, output_dir) |
| 1242 | 1243 |
| 1243 def AddFile(self, basename, library_name, path): | 1244 def AddFile(self, basename, library_name, path): |
| 1244 self._libraries[library_name].AddFile(path) | 1245 self._libraries[library_name].AddFile(path) |
| 1245 | 1246 |
| 1246 def Emit(self, emitter, auxiliary_dir): | 1247 def Emit(self, emitter, auxiliary_dir): |
| 1247 for lib in self._libraries.values(): | 1248 for lib in self._libraries.values(): |
| 1248 lib.Emit(emitter, auxiliary_dir) | 1249 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |