| 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 'CSSStyleDeclaration.setProperty', | 54 'CSSStyleDeclaration.setProperty', |
| 55 'Document.createNodeIterator', | 55 'Document.createNodeIterator', |
| 56 'Document.createTreeWalker', | 56 'Document.createTreeWalker', |
| 57 'DOMException.name', | 57 'DOMException.name', |
| 58 'Element.createShadowRoot', | 58 'Element.createShadowRoot', |
| 59 'Element.insertAdjacentElement', | 59 'Element.insertAdjacentElement', |
| 60 'Element.insertAdjacentHTML', | 60 'Element.insertAdjacentHTML', |
| 61 'Element.insertAdjacentText', | 61 'Element.insertAdjacentText', |
| 62 'Element.remove', | 62 'Element.remove', |
| 63 'Element.shadowRoot', | 63 'Element.shadowRoot', |
| 64 'Element.webkitMatchesSelector', | 64 'Element.matches', |
| 65 'ElementEvents.mouseWheel', | 65 'ElementEvents.mouseWheel', |
| 66 'ElementEvents.transitionEnd', | 66 'ElementEvents.transitionEnd', |
| 67 'FileReader.result', | 67 'FileReader.result', |
| 68 'HTMLTableElement.createTBody', | 68 'HTMLTableElement.createTBody', |
| 69 'IDBCursor.next', | 69 'IDBCursor.next', |
| 70 'IDBDatabase.transaction', | 70 'IDBDatabase.transaction', |
| 71 'IDBDatabase.transactionList', | 71 'IDBDatabase.transactionList', |
| 72 'IDBDatabase.transactionStore', | 72 'IDBDatabase.transactionStore', |
| 73 'IDBDatabase.transactionStores', | 73 'IDBDatabase.transactionStores', |
| 74 'KeyboardEvent.initKeyboardEvent', | 74 'KeyboardEvent.initKeyboardEvent', |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 for library_name in libraries: | 1242 for library_name in libraries: |
| 1243 self._libraries[library_name] = DartLibrary( | 1243 self._libraries[library_name] = DartLibrary( |
| 1244 library_name, template_loader, library_type, output_dir) | 1244 library_name, template_loader, library_type, output_dir) |
| 1245 | 1245 |
| 1246 def AddFile(self, basename, library_name, path): | 1246 def AddFile(self, basename, library_name, path): |
| 1247 self._libraries[library_name].AddFile(path) | 1247 self._libraries[library_name].AddFile(path) |
| 1248 | 1248 |
| 1249 def Emit(self, emitter, auxiliary_dir): | 1249 def Emit(self, emitter, auxiliary_dir): |
| 1250 for lib in self._libraries.values(): | 1250 for lib in self._libraries.values(): |
| 1251 lib.Emit(emitter, auxiliary_dir) | 1251 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |