| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 'ConsoleBase.timeEnd', | 47 'ConsoleBase.timeEnd', |
| 48 'ConsoleBase.timeStamp', | 48 'ConsoleBase.timeStamp', |
| 49 'ConsoleBase.trace', | 49 'ConsoleBase.trace', |
| 50 'ConsoleBase.warn', | 50 'ConsoleBase.warn', |
| 51 'WebKitCSSKeyframesRule.insertRule', | 51 'WebKitCSSKeyframesRule.insertRule', |
| 52 'CSSStyleDeclaration.setProperty', | 52 'CSSStyleDeclaration.setProperty', |
| 53 'Element.createShadowRoot', | 53 'Element.createShadowRoot', |
| 54 'Element.insertAdjacentElement', | 54 'Element.insertAdjacentElement', |
| 55 'Element.insertAdjacentHTML', | 55 'Element.insertAdjacentHTML', |
| 56 'Element.insertAdjacentText', | 56 'Element.insertAdjacentText', |
| 57 'Element.remove', |
| 58 'Element.shadowRoot', |
| 57 'Element.webkitMatchesSelector', | 59 'Element.webkitMatchesSelector', |
| 58 'Element.remove', | |
| 59 'ElementEvents.mouseWheel', | 60 'ElementEvents.mouseWheel', |
| 60 'ElementEvents.transitionEnd', | 61 'ElementEvents.transitionEnd', |
| 61 'DOMException.name', | 62 'DOMException.name', |
| 62 'HTMLTableElement.createTBody', | 63 'HTMLTableElement.createTBody', |
| 63 'IDBDatabase.transaction', | 64 'IDBDatabase.transaction', |
| 64 'IDBDatabase.transactionList', | 65 'IDBDatabase.transactionList', |
| 65 'IDBDatabase.transactionStore', | 66 'IDBDatabase.transactionStore', |
| 66 'IDBDatabase.transactionStores', | 67 'IDBDatabase.transactionStores', |
| 67 'KeyboardEvent.initKeyboardEvent', | 68 'KeyboardEvent.initKeyboardEvent', |
| 68 'Location.origin', | 69 'Location.origin', |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1223 for library_name in libraries: | 1224 for library_name in libraries: |
| 1224 self._libraries[library_name] = DartLibrary( | 1225 self._libraries[library_name] = DartLibrary( |
| 1225 library_name, template_loader, library_type, output_dir) | 1226 library_name, template_loader, library_type, output_dir) |
| 1226 | 1227 |
| 1227 def AddFile(self, basename, library_name, path): | 1228 def AddFile(self, basename, library_name, path): |
| 1228 self._libraries[library_name].AddFile(path) | 1229 self._libraries[library_name].AddFile(path) |
| 1229 | 1230 |
| 1230 def Emit(self, emitter, auxiliary_dir): | 1231 def Emit(self, emitter, auxiliary_dir): |
| 1231 for lib in self._libraries.values(): | 1232 for lib in self._libraries.values(): |
| 1232 lib.Emit(emitter, auxiliary_dir) | 1233 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |