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

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

Issue 11696002: Filling in supported platforms for InputElement types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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 import os 10 import os
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ElementConstructorInfo('h3'), 130 ElementConstructorInfo('h3'),
131 ElementConstructorInfo('h4'), 131 ElementConstructorInfo('h4'),
132 ElementConstructorInfo('h5'), 132 ElementConstructorInfo('h5'),
133 ElementConstructorInfo('h6')], 133 ElementConstructorInfo('h6')],
134 'HtmlElement': 'html', 134 'HtmlElement': 'html',
135 'IFrameElement': 'iframe', 135 'IFrameElement': 'iframe',
136 'ImageElement': 136 'ImageElement':
137 ElementConstructorInfo(tag='img', 137 ElementConstructorInfo(tag='img',
138 opt_params=[('DOMString', 'src'), 138 opt_params=[('DOMString', 'src'),
139 ('int', 'width'), ('int', 'height')]), 139 ('int', 'width'), ('int', 'height')]),
140 'InputElement':
141 ElementConstructorInfo(tag='input', opt_params=[('DOMString', 'type')]),
142 'KeygenElement': 'keygen', 140 'KeygenElement': 'keygen',
143 'LIElement': 'li', 141 'LIElement': 'li',
144 'LabelElement': 'label', 142 'LabelElement': 'label',
145 'LegendElement': 'legend', 143 'LegendElement': 'legend',
146 'LinkElement': 'link', 144 'LinkElement': 'link',
147 'MapElement': 'map', 145 'MapElement': 'map',
148 'MenuElement': 'menu', 146 'MenuElement': 'menu',
149 'MeterElement': 'meter', 147 'MeterElement': 'meter',
150 'OListElement': 'ol', 148 'OListElement': 'ol',
151 'ObjectElement': 'object', 149 'ObjectElement': 'object',
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 for library_name in libraries: 1000 for library_name in libraries:
1003 self._libraries[library_name] = DartLibrary( 1001 self._libraries[library_name] = DartLibrary(
1004 library_name, template_loader, library_type, output_dir) 1002 library_name, template_loader, library_type, output_dir)
1005 1003
1006 def AddFile(self, basename, library_name, path): 1004 def AddFile(self, basename, library_name, path):
1007 self._libraries[library_name].AddFile(path) 1005 self._libraries[library_name].AddFile(path)
1008 1006
1009 def Emit(self, emitter, auxiliary_dir): 1007 def Emit(self, emitter, auxiliary_dir):
1010 for lib in self._libraries.values(): 1008 for lib in self._libraries.values():
1011 lib.Emit(emitter, auxiliary_dir) 1009 lib.Emit(emitter, auxiliary_dir)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698