| 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 28 matching lines...) Expand all Loading... |
| 39 'Console.info', | 39 'Console.info', |
| 40 'Console.log', | 40 'Console.log', |
| 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 'CSSStyleDeclaration.setProperty', | 50 'CSSStyleDeclaration.setProperty', |
| 50 'Element.insertAdjacentElement', | 51 'Element.insertAdjacentElement', |
| 51 'Element.insertAdjacentHTML', | 52 'Element.insertAdjacentHTML', |
| 52 'Element.insertAdjacentText', | 53 'Element.insertAdjacentText', |
| 53 'Element.webkitMatchesSelector', | 54 'Element.webkitMatchesSelector', |
| 54 'Element.remove', | 55 'Element.remove', |
| 55 'ElementEvents.mouseWheel', | 56 'ElementEvents.mouseWheel', |
| 56 'ElementEvents.transitionEnd', | 57 'ElementEvents.transitionEnd', |
| 57 'DOMException.name', | 58 'DOMException.name', |
| 58 'HTMLTableElement.createTBody', | 59 'HTMLTableElement.createTBody', |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 for library_name in libraries: | 1192 for library_name in libraries: |
| 1192 self._libraries[library_name] = DartLibrary( | 1193 self._libraries[library_name] = DartLibrary( |
| 1193 library_name, template_loader, library_type, output_dir) | 1194 library_name, template_loader, library_type, output_dir) |
| 1194 | 1195 |
| 1195 def AddFile(self, basename, library_name, path): | 1196 def AddFile(self, basename, library_name, path): |
| 1196 self._libraries[library_name].AddFile(path) | 1197 self._libraries[library_name].AddFile(path) |
| 1197 | 1198 |
| 1198 def Emit(self, emitter, auxiliary_dir): | 1199 def Emit(self, emitter, auxiliary_dir): |
| 1199 for lib in self._libraries.values(): | 1200 for lib in self._libraries.values(): |
| 1200 lib.Emit(emitter, auxiliary_dir) | 1201 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |