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