Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: lib/dom/scripts/systemhtml.py

Issue 10824326: Enable (HTML)DataListElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 ElementConstructorInfo(tag='a', opt_params=[('String', 'href')]), 243 ElementConstructorInfo(tag='a', opt_params=[('String', 'href')]),
244 'AreaElement': 'area', 244 'AreaElement': 'area',
245 'ButtonElement': 'button', 245 'ButtonElement': 'button',
246 'BRElement': 'br', 246 'BRElement': 'br',
247 'BaseElement': 'base', 247 'BaseElement': 'base',
248 'BodyElement': 'body', 248 'BodyElement': 'body',
249 'ButtonElement': 'button', 249 'ButtonElement': 'button',
250 'CanvasElement': 250 'CanvasElement':
251 ElementConstructorInfo(tag='canvas', 251 ElementConstructorInfo(tag='canvas',
252 opt_params=[('int', 'width'), ('int', 'height')]), 252 opt_params=[('int', 'width'), ('int', 'height')]),
253 'DataListElement': 'datalist',
253 'DListElement': 'dl', 254 'DListElement': 'dl',
254 'DetailsElement': 'details', 255 'DetailsElement': 'details',
255 'DivElement': 'div', 256 'DivElement': 'div',
256 'EmbedElement': 'embed', 257 'EmbedElement': 'embed',
257 'FieldSetElement': 'fieldset', 258 'FieldSetElement': 'fieldset',
258 'Form': 'form', 259 'Form': 'form',
259 'HRElement': 'hr', 260 'HRElement': 'hr',
260 'HeadElement': 'head', 261 'HeadElement': 'head',
261 'HeadingElement': [ElementConstructorInfo('h1'), 262 'HeadingElement': [ElementConstructorInfo('h1'),
262 ElementConstructorInfo('h2'), 263 ElementConstructorInfo('h2'),
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 return HtmlDart2JSClassGenerator(self, interface) 1020 return HtmlDart2JSClassGenerator(self, interface)
1020 1021
1021 def GenerateLibraries(self, dart_files): 1022 def GenerateLibraries(self, dart_files):
1022 self._GenerateLibFile( 1023 self._GenerateLibFile(
1023 'html_dart2js.darttemplate', 1024 'html_dart2js.darttemplate',
1024 os.path.join(self._output_dir, 'html_dart2js.dart'), 1025 os.path.join(self._output_dir, 'html_dart2js.dart'),
1025 dart_files) 1026 dart_files)
1026 1027
1027 def Finish(self): 1028 def Finish(self):
1028 pass 1029 pass
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698