| 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 | 10 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 ElementConstructorInfo(tag='a', opt_params=[('String', 'href')]), | 254 ElementConstructorInfo(tag='a', opt_params=[('String', 'href')]), |
| 255 'AreaElement': 'area', | 255 'AreaElement': 'area', |
| 256 'ButtonElement': 'button', | 256 'ButtonElement': 'button', |
| 257 'BRElement': 'br', | 257 'BRElement': 'br', |
| 258 'BaseElement': 'base', | 258 'BaseElement': 'base', |
| 259 'BodyElement': 'body', | 259 'BodyElement': 'body', |
| 260 'ButtonElement': 'button', | 260 'ButtonElement': 'button', |
| 261 'CanvasElement': | 261 'CanvasElement': |
| 262 ElementConstructorInfo(tag='canvas', | 262 ElementConstructorInfo(tag='canvas', |
| 263 opt_params=[('int', 'width'), ('int', 'height')]), | 263 opt_params=[('int', 'width'), ('int', 'height')]), |
| 264 'ContentElement': 'content', | |
| 265 'DataListElement': 'datalist', | 264 'DataListElement': 'datalist', |
| 266 'DListElement': 'dl', | 265 'DListElement': 'dl', |
| 267 'DetailsElement': 'details', | 266 'DetailsElement': 'details', |
| 268 'DivElement': 'div', | 267 'DivElement': 'div', |
| 269 'EmbedElement': 'embed', | 268 'EmbedElement': 'embed', |
| 270 'FieldSetElement': 'fieldset', | 269 'FieldSetElement': 'fieldset', |
| 271 'FormElement': 'form', | 270 'FormElement': 'form', |
| 272 'HRElement': 'hr', | 271 'HRElement': 'hr', |
| 273 'HeadElement': 'head', | 272 'HeadElement': 'head', |
| 274 'HeadingElement': [ElementConstructorInfo('h1'), | 273 'HeadingElement': [ElementConstructorInfo('h1'), |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 def GenerateLibraries(self, dart_files): | 1230 def GenerateLibraries(self, dart_files): |
| 1232 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir) | 1231 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir) |
| 1233 self._GenerateLibFile( | 1232 self._GenerateLibFile( |
| 1234 'html_dart2js.darttemplate', | 1233 'html_dart2js.darttemplate', |
| 1235 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1234 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1236 dart_files, | 1235 dart_files, |
| 1237 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir)) | 1236 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir)) |
| 1238 | 1237 |
| 1239 def Finish(self): | 1238 def Finish(self): |
| 1240 pass | 1239 pass |
| OLD | NEW |