| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 'ConsoleBase.timeEnd', | 50 'ConsoleBase.timeEnd', |
| 51 'ConsoleBase.timeStamp', | 51 'ConsoleBase.timeStamp', |
| 52 'ConsoleBase.trace', | 52 'ConsoleBase.trace', |
| 53 'ConsoleBase.warn', | 53 'ConsoleBase.warn', |
| 54 'WebKitCSSKeyframesRule.insertRule', | 54 'WebKitCSSKeyframesRule.insertRule', |
| 55 'CSSStyleDeclaration.setProperty', | 55 'CSSStyleDeclaration.setProperty', |
| 56 'CSSStyleDeclaration.__propertyQuery__', | 56 'CSSStyleDeclaration.__propertyQuery__', |
| 57 'Document.createNodeIterator', | 57 'Document.createNodeIterator', |
| 58 'Document.createTreeWalker', | 58 'Document.createTreeWalker', |
| 59 'DOMException.name', | 59 'DOMException.name', |
| 60 'DOMException.toString', |
| 60 'Element.createShadowRoot', | 61 'Element.createShadowRoot', |
| 61 'Element.insertAdjacentElement', | 62 'Element.insertAdjacentElement', |
| 62 'Element.insertAdjacentHTML', | 63 'Element.insertAdjacentHTML', |
| 63 'Element.insertAdjacentText', | 64 'Element.insertAdjacentText', |
| 64 'Element.remove', | 65 'Element.remove', |
| 65 'Element.shadowRoot', | 66 'Element.shadowRoot', |
| 66 'Element.matches', | 67 'Element.matches', |
| 67 'ElementEvents.mouseWheel', | 68 'ElementEvents.mouseWheel', |
| 68 'ElementEvents.transitionEnd', | 69 'ElementEvents.transitionEnd', |
| 69 'FileReader.result', | 70 'FileReader.result', |
| 71 'HTMLAnchorElement.toString', |
| 72 'HTMLAreaElement.toString', |
| 70 'HTMLTableElement.createTBody', | 73 'HTMLTableElement.createTBody', |
| 71 'IDBCursor.next', | 74 'IDBCursor.next', |
| 72 'IDBDatabase.transaction', | 75 'IDBDatabase.transaction', |
| 73 'IDBDatabase.transactionList', | 76 'IDBDatabase.transactionList', |
| 74 'IDBDatabase.transactionStore', | 77 'IDBDatabase.transactionStore', |
| 75 'IDBDatabase.transactionStores', | 78 'IDBDatabase.transactionStores', |
| 76 'KeyboardEvent.initKeyboardEvent', | 79 'KeyboardEvent.initKeyboardEvent', |
| 77 'Location.origin', | 80 'Location.origin', |
| 81 'Location.toString', |
| 78 'MouseEvent.offsetX', | 82 'MouseEvent.offsetX', |
| 79 'MouseEvent.offsetY', | 83 'MouseEvent.offsetY', |
| 80 'Navigator.language', | 84 'Navigator.language', |
| 81 'Navigator.webkitGetUserMedia', | 85 'Navigator.webkitGetUserMedia', |
| 82 'ScriptProcessorNode._setEventListener', | 86 'ScriptProcessorNode._setEventListener', |
| 83 'URL.createObjectURL', | 87 'URL.createObjectURL', |
| 84 'URL.createObjectUrlFromSource', | 88 'URL.createObjectUrlFromSource', |
| 85 'URL.createObjectUrlFromStream', | 89 'URL.createObjectUrlFromStream', |
| 86 'URL.createObjectUrlFromBlob', | 90 'URL.createObjectUrlFromBlob', |
| 87 'URL.revokeObjectURL', | 91 'URL.revokeObjectURL', |
| 92 'URL.toString', |
| 88 'WheelEvent.deltaMode', | 93 'WheelEvent.deltaMode', |
| 89 'WheelEvent.wheelDeltaX', | 94 'WheelEvent.wheelDeltaX', |
| 90 'WheelEvent.wheelDeltaY', | 95 'WheelEvent.wheelDeltaY', |
| 91 'Window.cancelAnimationFrame', | 96 'Window.cancelAnimationFrame', |
| 92 'Window.console', | 97 'Window.console', |
| 93 'Window.document', | 98 'Window.document', |
| 94 'Window.indexedDB', | 99 'Window.indexedDB', |
| 95 'Window.location', | 100 'Window.location', |
| 96 'Window.open', | 101 'Window.open', |
| 97 'Window.requestAnimationFrame', | 102 'Window.requestAnimationFrame', |
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1269 | 1274 |
| 1270 def AddFile(self, basename, library_name, path): | 1275 def AddFile(self, basename, library_name, path): |
| 1271 self._libraries[library_name].AddFile(path) | 1276 self._libraries[library_name].AddFile(path) |
| 1272 | 1277 |
| 1273 def AddTypeEntry(self, library_name, idl_name, dart_name): | 1278 def AddTypeEntry(self, library_name, idl_name, dart_name): |
| 1274 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) | 1279 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) |
| 1275 | 1280 |
| 1276 def Emit(self, emitter, auxiliary_dir): | 1281 def Emit(self, emitter, auxiliary_dir): |
| 1277 for lib in self._libraries.values(): | 1282 for lib in self._libraries.values(): |
| 1278 lib.Emit(emitter, auxiliary_dir) | 1283 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |