| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 'MouseEvent.offsetX', | 73 'MouseEvent.offsetX', |
| 74 'MouseEvent.offsetY', | 74 'MouseEvent.offsetY', |
| 75 'Navigator.language', | 75 'Navigator.language', |
| 76 'Navigator.webkitGetUserMedia', | 76 'Navigator.webkitGetUserMedia', |
| 77 'ScriptProcessorNode._setEventListener', | 77 'ScriptProcessorNode._setEventListener', |
| 78 'URL.createObjectURL', | 78 'URL.createObjectURL', |
| 79 'URL.createObjectUrlFromSource', | 79 'URL.createObjectUrlFromSource', |
| 80 'URL.createObjectUrlFromStream', | 80 'URL.createObjectUrlFromStream', |
| 81 'URL.createObjectUrlFromBlob', | 81 'URL.createObjectUrlFromBlob', |
| 82 'URL.revokeObjectURL', | 82 'URL.revokeObjectURL', |
| 83 'WebGLRenderingContext.texImage2D', | |
| 84 'WebGLRenderingContext.texSubImage2D', | |
| 85 'WheelEvent.deltaMode', | 83 'WheelEvent.deltaMode', |
| 86 'WheelEvent.wheelDeltaX', | 84 'WheelEvent.wheelDeltaX', |
| 87 'WheelEvent.wheelDeltaY', | 85 'WheelEvent.wheelDeltaY', |
| 88 'Window.cancelAnimationFrame', | 86 'Window.cancelAnimationFrame', |
| 89 'Window.console', | 87 'Window.console', |
| 90 'Window.document', | 88 'Window.document', |
| 91 'Window.indexedDB', | 89 'Window.indexedDB', |
| 92 'Window.location', | 90 'Window.location', |
| 93 'Window.open', | 91 'Window.open', |
| 94 'Window.requestAnimationFrame', | 92 'Window.requestAnimationFrame', |
| (...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 for library_name in libraries: | 1237 for library_name in libraries: |
| 1240 self._libraries[library_name] = DartLibrary( | 1238 self._libraries[library_name] = DartLibrary( |
| 1241 library_name, template_loader, library_type, output_dir) | 1239 library_name, template_loader, library_type, output_dir) |
| 1242 | 1240 |
| 1243 def AddFile(self, basename, library_name, path): | 1241 def AddFile(self, basename, library_name, path): |
| 1244 self._libraries[library_name].AddFile(path) | 1242 self._libraries[library_name].AddFile(path) |
| 1245 | 1243 |
| 1246 def Emit(self, emitter, auxiliary_dir): | 1244 def Emit(self, emitter, auxiliary_dir): |
| 1247 for lib in self._libraries.values(): | 1245 for lib in self._libraries.values(): |
| 1248 lib.Emit(emitter, auxiliary_dir) | 1246 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |