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 os | 10 import os |
(...skipping 27 matching lines...) Expand all Loading... |
38 'Console.timeStamp', | 38 'Console.timeStamp', |
39 'Console.trace', | 39 'Console.trace', |
40 'Console.warn', | 40 'Console.warn', |
41 'CSSStyleDeclaration.setProperty', | 41 'CSSStyleDeclaration.setProperty', |
42 'Element.insertAdjacentElement', | 42 'Element.insertAdjacentElement', |
43 'Element.insertAdjacentHTML', | 43 'Element.insertAdjacentHTML', |
44 'Element.insertAdjacentText', | 44 'Element.insertAdjacentText', |
45 'Element.webkitMatchesSelector', | 45 'Element.webkitMatchesSelector', |
46 'Element.remove', | 46 'Element.remove', |
47 'ElementEvents.mouseWheel', | 47 'ElementEvents.mouseWheel', |
| 48 'ElementEvents.transitionEnd', |
48 'DOMException.name', | 49 'DOMException.name', |
49 'HTMLTableElement.createTBody', | 50 'HTMLTableElement.createTBody', |
50 'IDBDatabase.transaction', | 51 'IDBDatabase.transaction', |
51 'KeyboardEvent.initKeyboardEvent', | 52 'KeyboardEvent.initKeyboardEvent', |
52 'MouseEvent.offsetX', | 53 'MouseEvent.offsetX', |
53 'MouseEvent.offsetY', | 54 'MouseEvent.offsetY', |
54 'Navigator.language', | 55 'Navigator.language', |
55 'Navigator.webkitGetUserMedia', | 56 'Navigator.webkitGetUserMedia', |
56 'URL.createObjectURL', | 57 'URL.createObjectURL', |
57 'URL.revokeObjectURL', | 58 'URL.revokeObjectURL', |
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 for library_name in libraries: | 1107 for library_name in libraries: |
1107 self._libraries[library_name] = DartLibrary( | 1108 self._libraries[library_name] = DartLibrary( |
1108 library_name, template_loader, library_type, output_dir) | 1109 library_name, template_loader, library_type, output_dir) |
1109 | 1110 |
1110 def AddFile(self, basename, library_name, path): | 1111 def AddFile(self, basename, library_name, path): |
1111 self._libraries[library_name].AddFile(path) | 1112 self._libraries[library_name].AddFile(path) |
1112 | 1113 |
1113 def Emit(self, emitter, auxiliary_dir): | 1114 def Emit(self, emitter, auxiliary_dir): |
1114 for lib in self._libraries.values(): | 1115 for lib in self._libraries.values(): |
1115 lib.Emit(emitter, auxiliary_dir) | 1116 lib.Emit(emitter, auxiliary_dir) |
OLD | NEW |