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

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

Issue 14426006: Rename dart:typeddata to dart:typed_data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 monitored 10 import monitored
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 'SVGTSpanElement': 'tspan', 256 'SVGTSpanElement': 'tspan',
257 'SVGUseElement': 'use', 257 'SVGUseElement': 'use',
258 'SVGViewElement': 'view', 258 'SVGViewElement': 'view',
259 'SVGVKernElement': 'vkern', 259 'SVGVKernElement': 'vkern',
260 }) 260 })
261 261
262 _element_constructors = { 262 _element_constructors = {
263 'html': _html_element_constructors, 263 'html': _html_element_constructors,
264 'indexed_db': {}, 264 'indexed_db': {},
265 'svg': _svg_element_constructors, 265 'svg': _svg_element_constructors,
266 'typeddata': {}, 266 'typed_data': {},
267 'web_audio': {}, 267 'web_audio': {},
268 'web_gl': {}, 268 'web_gl': {},
269 'web_sql': {}, 269 'web_sql': {},
270 } 270 }
271 271
272 _factory_ctr_strings = { 272 _factory_ctr_strings = {
273 'html': { 273 'html': {
274 'provider_name': 'document', 274 'provider_name': 'document',
275 'constructor_name': '$dom_createElement' 275 'constructor_name': '$dom_createElement'
276 }, 276 },
277 'indexed_db': { 277 'indexed_db': {
278 'provider_name': 'document', 278 'provider_name': 'document',
279 'constructor_name': '$dom_createElement' 279 'constructor_name': '$dom_createElement'
280 }, 280 },
281 'svg': { 281 'svg': {
282 'provider_name': '_SvgElementFactoryProvider', 282 'provider_name': '_SvgElementFactoryProvider',
283 'constructor_name': 'createSvgElement_tag', 283 'constructor_name': 'createSvgElement_tag',
284 }, 284 },
285 'typeddata': { 285 'typed_data': {
286 'provider_name': 'document', 286 'provider_name': 'document',
287 'constructor_name': '$dom_createElement' 287 'constructor_name': '$dom_createElement'
288 }, 288 },
289 'web_audio': { 289 'web_audio': {
290 'provider_name': 'document', 290 'provider_name': 'document',
291 'constructor_name': '$dom_createElement' 291 'constructor_name': '$dom_createElement'
292 }, 292 },
293 'web_gl': { 293 'web_gl': {
294 'provider_name': 'document', 294 'provider_name': 'document',
295 'constructor_name': '$dom_createElement' 295 'constructor_name': '$dom_createElement'
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 for library_name in libraries: 1159 for library_name in libraries:
1160 self._libraries[library_name] = DartLibrary( 1160 self._libraries[library_name] = DartLibrary(
1161 library_name, template_loader, library_type, output_dir) 1161 library_name, template_loader, library_type, output_dir)
1162 1162
1163 def AddFile(self, basename, library_name, path): 1163 def AddFile(self, basename, library_name, path):
1164 self._libraries[library_name].AddFile(path) 1164 self._libraries[library_name].AddFile(path)
1165 1165
1166 def Emit(self, emitter, auxiliary_dir): 1166 def Emit(self, emitter, auxiliary_dir):
1167 for lib in self._libraries.values(): 1167 for lib in self._libraries.values():
1168 lib.Emit(emitter, auxiliary_dir) 1168 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | tools/dom/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698