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

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

Issue 10977017: Adding constructor to ContentElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing the test. Created 8 years, 2 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
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',
264 'DataListElement': 'datalist', 265 'DataListElement': 'datalist',
265 'DListElement': 'dl', 266 'DListElement': 'dl',
266 'DetailsElement': 'details', 267 'DetailsElement': 'details',
267 'DivElement': 'div', 268 'DivElement': 'div',
268 'EmbedElement': 'embed', 269 'EmbedElement': 'embed',
269 'FieldSetElement': 'fieldset', 270 'FieldSetElement': 'fieldset',
270 'FormElement': 'form', 271 'FormElement': 'form',
271 'HRElement': 'hr', 272 'HRElement': 'hr',
272 'HeadElement': 'head', 273 'HeadElement': 'head',
273 'HeadingElement': [ElementConstructorInfo('h1'), 274 'HeadingElement': [ElementConstructorInfo('h1'),
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 def GenerateLibraries(self, dart_files): 1231 def GenerateLibraries(self, dart_files):
1231 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir) 1232 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir)
1232 self._GenerateLibFile( 1233 self._GenerateLibFile(
1233 'html_dart2js.darttemplate', 1234 'html_dart2js.darttemplate',
1234 os.path.join(self._output_dir, 'html_dart2js.dart'), 1235 os.path.join(self._output_dir, 'html_dart2js.dart'),
1235 dart_files, 1236 dart_files,
1236 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir)) 1237 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir))
1237 1238
1238 def Finish(self): 1239 def Finish(self):
1239 pass 1240 pass
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698