| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 'MeterElement': 'meter', | 291 'MeterElement': 'meter', |
| 292 'OListElement': 'ol', | 292 'OListElement': 'ol', |
| 293 'ObjectElement': 'object', | 293 'ObjectElement': 'object', |
| 294 'OptGroupElement': 'optgroup', | 294 'OptGroupElement': 'optgroup', |
| 295 'OutputElement': 'output', | 295 'OutputElement': 'output', |
| 296 'ParagraphElement': 'p', | 296 'ParagraphElement': 'p', |
| 297 'ParamElement': 'param', | 297 'ParamElement': 'param', |
| 298 'PreElement': 'pre', | 298 'PreElement': 'pre', |
| 299 'ProgressElement': 'progress', | 299 'ProgressElement': 'progress', |
| 300 'ScriptElement': 'script', | 300 'ScriptElement': 'script', |
| 301 'SelectElement': 'select', |
| 301 'SourceElement': 'source', | 302 'SourceElement': 'source', |
| 302 'SpanElement': 'span', | 303 'SpanElement': 'span', |
| 303 'StyleElement': 'style', | 304 'StyleElement': 'style', |
| 304 'TableCaptionElement': 'caption', | 305 'TableCaptionElement': 'caption', |
| 305 'TableCellElement': 'td', | 306 'TableCellElement': 'td', |
| 306 'TableColElement': 'col', | 307 'TableColElement': 'col', |
| 307 'TableElement': 'table', | 308 'TableElement': 'table', |
| 308 'TableRowElement': 'tr', | 309 'TableRowElement': 'tr', |
| 309 #'TableSectionElement' <thead> <tbody> <tfoot> | 310 #'TableSectionElement' <thead> <tbody> <tfoot> |
| 310 'TextAreaElement': 'textarea', | 311 'TextAreaElement': 'textarea', |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1232 return HtmlDart2JSClassGenerator(self, interface) | 1233 return HtmlDart2JSClassGenerator(self, interface) |
| 1233 | 1234 |
| 1234 def GenerateLibraries(self, dart_files): | 1235 def GenerateLibraries(self, dart_files): |
| 1235 self._GenerateLibFile( | 1236 self._GenerateLibFile( |
| 1236 'html_dart2js.darttemplate', | 1237 'html_dart2js.darttemplate', |
| 1237 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1238 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1238 dart_files) | 1239 dart_files) |
| 1239 | 1240 |
| 1240 def Finish(self): | 1241 def Finish(self): |
| 1241 pass | 1242 pass |
| OLD | NEW |