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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 'Navigator.language', | 85 'Navigator.language', |
86 'Navigator.webkitGetUserMedia', | 86 'Navigator.webkitGetUserMedia', |
87 'ScriptProcessorNode._setEventListener', | 87 'ScriptProcessorNode._setEventListener', |
88 'URL.createObjectURL', | 88 'URL.createObjectURL', |
89 'URL.createObjectUrlFromSource', | 89 'URL.createObjectUrlFromSource', |
90 'URL.createObjectUrlFromStream', | 90 'URL.createObjectUrlFromStream', |
91 'URL.createObjectUrlFromBlob', | 91 'URL.createObjectUrlFromBlob', |
92 'URL.revokeObjectURL', | 92 'URL.revokeObjectURL', |
93 'URL.toString', | 93 'URL.toString', |
94 'WheelEvent.deltaMode', | 94 'WheelEvent.deltaMode', |
95 'WheelEvent.wheelDeltaX', | |
96 'WheelEvent.wheelDeltaY', | |
97 'Window.cancelAnimationFrame', | 95 'Window.cancelAnimationFrame', |
98 'Window.console', | 96 'Window.console', |
99 'Window.document', | 97 'Window.document', |
100 'Window.indexedDB', | 98 'Window.indexedDB', |
101 'Window.location', | 99 'Window.location', |
102 'Window.open', | 100 'Window.open', |
103 'Window.requestAnimationFrame', | 101 'Window.requestAnimationFrame', |
104 'Window.scrollX', | 102 'Window.scrollX', |
105 'Window.scrollY' | 103 'Window.scrollY' |
106 # 'WorkerContext.indexedDB', # Workers | 104 # 'WorkerContext.indexedDB', # Workers |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 | 1286 |
1289 def AddFile(self, basename, library_name, path): | 1287 def AddFile(self, basename, library_name, path): |
1290 self._libraries[library_name].AddFile(path) | 1288 self._libraries[library_name].AddFile(path) |
1291 | 1289 |
1292 def AddTypeEntry(self, library_name, idl_name, dart_name): | 1290 def AddTypeEntry(self, library_name, idl_name, dart_name): |
1293 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) | 1291 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) |
1294 | 1292 |
1295 def Emit(self, emitter, auxiliary_dir): | 1293 def Emit(self, emitter, auxiliary_dir): |
1296 for lib in self._libraries.values(): | 1294 for lib in self._libraries.values(): |
1297 lib.Emit(emitter, auxiliary_dir) | 1295 lib.Emit(emitter, auxiliary_dir) |
OLD | NEW |