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

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

Issue 11510013: Making ScriptProcessorNode not an EventTarget. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 'SVGFESpecularLightingElement', 350 'SVGFESpecularLightingElement',
351 'SVGFESpotLightElement', 351 'SVGFESpotLightElement',
352 'SVGFETileElement', 352 'SVGFETileElement',
353 'SVGFETurbulenceElement', 353 'SVGFETurbulenceElement',
354 'SVGFilterElement', 354 'SVGFilterElement',
355 'SVGForeignObjectElement', 355 'SVGForeignObjectElement',
356 'SVGSetElement', 356 'SVGSetElement',
357 ] 357 ]
358 358
359 js_support_checks = dict({ 359 js_support_checks = dict({
360 'AudioContext': "JS('bool', '!!(window.AudioContext ||"
361 " window.webkitAudioContext)')",
360 'ArrayBuffer': "JS('bool', 'typeof window.ArrayBuffer != \"undefined\"')", 362 'ArrayBuffer': "JS('bool', 'typeof window.ArrayBuffer != \"undefined\"')",
361 'Crypto': 363 'Crypto':
362 "JS('bool', '!!(window.crypto && window.crypto.getRandomValues)')", 364 "JS('bool', '!!(window.crypto && window.crypto.getRandomValues)')",
363 'Database': "JS('bool', '!!(window.openDatabase)')", 365 'Database': "JS('bool', '!!(window.openDatabase)')",
364 'DOMApplicationCache': "JS('bool', '!!(window.applicationCache)')", 366 'DOMApplicationCache': "JS('bool', '!!(window.applicationCache)')",
365 'DOMFileSystem': "JS('bool', '!!(window.webkitRequestFileSystem)')", 367 'DOMFileSystem': "JS('bool', '!!(window.webkitRequestFileSystem)')",
366 'FormData': "JS('bool', '!!(window.FormData)')", 368 'FormData': "JS('bool', '!!(window.FormData)')",
367 'HashChangeEvent': "Device.isEventTypeSupported('HashChangeEvent')", 369 'HashChangeEvent': "Device.isEventTypeSupported('HashChangeEvent')",
368 'HTMLShadowElement': ElemSupportStr('shadow'), 370 'HTMLShadowElement': ElemSupportStr('shadow'),
369 'MediaStreamEvent': "Device.isEventTypeSupported('MediaStreamEvent')", 371 'MediaStreamEvent': "Device.isEventTypeSupported('MediaStreamEvent')",
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 for library_name in libraries: 1136 for library_name in libraries:
1135 self._libraries[library_name] = DartLibrary( 1137 self._libraries[library_name] = DartLibrary(
1136 library_name, template_loader, library_type, output_dir) 1138 library_name, template_loader, library_type, output_dir)
1137 1139
1138 def AddFile(self, basename, library_name, path): 1140 def AddFile(self, basename, library_name, path):
1139 self._libraries[library_name].AddFile(path) 1141 self._libraries[library_name].AddFile(path)
1140 1142
1141 def Emit(self, emitter, auxiliary_dir): 1143 def Emit(self, emitter, auxiliary_dir):
1142 for lib in self._libraries.values(): 1144 for lib in self._libraries.values():
1143 lib.Emit(emitter, auxiliary_dir) 1145 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698