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

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

Issue 10871070: Provide a constructor for (DOM)FormData, and rename to the more standard name, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 'ButtonElement': 'button', 252 'ButtonElement': 'button',
253 'CanvasElement': 253 'CanvasElement':
254 ElementConstructorInfo(tag='canvas', 254 ElementConstructorInfo(tag='canvas',
255 opt_params=[('int', 'width'), ('int', 'height')]), 255 opt_params=[('int', 'width'), ('int', 'height')]),
256 'DataListElement': 'datalist', 256 'DataListElement': 'datalist',
257 'DListElement': 'dl', 257 'DListElement': 'dl',
258 'DetailsElement': 'details', 258 'DetailsElement': 'details',
259 'DivElement': 'div', 259 'DivElement': 'div',
260 'EmbedElement': 'embed', 260 'EmbedElement': 'embed',
261 'FieldSetElement': 'fieldset', 261 'FieldSetElement': 'fieldset',
262 'Form': 'form', 262 'FormElement': 'form',
263 'HRElement': 'hr', 263 'HRElement': 'hr',
264 'HeadElement': 'head', 264 'HeadElement': 'head',
265 'HeadingElement': [ElementConstructorInfo('h1'), 265 'HeadingElement': [ElementConstructorInfo('h1'),
266 ElementConstructorInfo('h2'), 266 ElementConstructorInfo('h2'),
267 ElementConstructorInfo('h3'), 267 ElementConstructorInfo('h3'),
268 ElementConstructorInfo('h4'), 268 ElementConstructorInfo('h4'),
269 ElementConstructorInfo('h5'), 269 ElementConstructorInfo('h5'),
270 ElementConstructorInfo('h6')], 270 ElementConstructorInfo('h6')],
271 'HtmlElement': 'html', 271 'HtmlElement': 'html',
272 'IFrameElement': 'iframe', 272 'IFrameElement': 'iframe',
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 return HtmlDart2JSClassGenerator(self, interface) 1227 return HtmlDart2JSClassGenerator(self, interface)
1228 1228
1229 def GenerateLibraries(self, dart_files): 1229 def GenerateLibraries(self, dart_files):
1230 self._GenerateLibFile( 1230 self._GenerateLibFile(
1231 'html_dart2js.darttemplate', 1231 'html_dart2js.darttemplate',
1232 os.path.join(self._output_dir, 'html_dart2js.dart'), 1232 os.path.join(self._output_dir, 'html_dart2js.dart'),
1233 dart_files) 1233 dart_files)
1234 1234
1235 def Finish(self): 1235 def Finish(self):
1236 pass 1236 pass
OLDNEW
« no previous file with comments | « lib/dom/scripts/dartdomgenerator.py ('k') | lib/dom/templates/html/dart2js/factoryprovider_FormData.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698