| 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 30 matching lines...) Expand all Loading... |
| 41 'Console.markTimeline', | 41 'Console.markTimeline', |
| 42 'Console.profile', | 42 'Console.profile', |
| 43 'Console.profileEnd', | 43 'Console.profileEnd', |
| 44 'Console.time', | 44 'Console.time', |
| 45 'Console.timeEnd', | 45 'Console.timeEnd', |
| 46 'Console.timeStamp', | 46 'Console.timeStamp', |
| 47 'Console.trace', | 47 'Console.trace', |
| 48 'Console.warn', | 48 'Console.warn', |
| 49 'WebKitCSSKeyframesRule.insertRule', | 49 'WebKitCSSKeyframesRule.insertRule', |
| 50 'CSSStyleDeclaration.setProperty', | 50 'CSSStyleDeclaration.setProperty', |
| 51 'Element.createShadowRoot', |
| 51 'Element.insertAdjacentElement', | 52 'Element.insertAdjacentElement', |
| 52 'Element.insertAdjacentHTML', | 53 'Element.insertAdjacentHTML', |
| 53 'Element.insertAdjacentText', | 54 'Element.insertAdjacentText', |
| 54 'Element.webkitMatchesSelector', | 55 'Element.webkitMatchesSelector', |
| 55 'Element.remove', | 56 'Element.remove', |
| 56 'ElementEvents.mouseWheel', | 57 'ElementEvents.mouseWheel', |
| 57 'ElementEvents.transitionEnd', | 58 'ElementEvents.transitionEnd', |
| 58 'DOMException.name', | 59 'DOMException.name', |
| 59 'HTMLTableElement.createTBody', | 60 'HTMLTableElement.createTBody', |
| 60 'IDBDatabase.transaction', | 61 'IDBDatabase.transaction', |
| (...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1204 for library_name in libraries: | 1205 for library_name in libraries: |
| 1205 self._libraries[library_name] = DartLibrary( | 1206 self._libraries[library_name] = DartLibrary( |
| 1206 library_name, template_loader, library_type, output_dir) | 1207 library_name, template_loader, library_type, output_dir) |
| 1207 | 1208 |
| 1208 def AddFile(self, basename, library_name, path): | 1209 def AddFile(self, basename, library_name, path): |
| 1209 self._libraries[library_name].AddFile(path) | 1210 self._libraries[library_name].AddFile(path) |
| 1210 | 1211 |
| 1211 def Emit(self, emitter, auxiliary_dir): | 1212 def Emit(self, emitter, auxiliary_dir): |
| 1212 for lib in self._libraries.values(): | 1213 for lib in self._libraries.values(): |
| 1213 lib.Emit(emitter, auxiliary_dir) | 1214 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |