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

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

Issue 12663017: Reapply the expanded names with the correct form of requestFileSystem on the (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
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 'Window.location', 68 'Window.location',
69 'Window.open', 69 'Window.open',
70 'Window.requestAnimationFrame', 70 'Window.requestAnimationFrame',
71 'WorkerContext.indexedDB', 71 'WorkerContext.indexedDB',
72 ]) 72 ])
73 73
74 _js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [ 74 _js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [
75 'AudioContext', 75 'AudioContext',
76 'Blob', 76 'Blob',
77 'MutationObserver', 77 'MutationObserver',
78 'Notification',
79 'RTCIceCandidate', 78 'RTCIceCandidate',
80 'RTCPeerConnection', 79 'RTCPeerConnection',
81 'RTCSessionDescription', 80 'RTCSessionDescription',
82 'SpeechRecognition', 81 'SpeechRecognition',
83 ]) 82 ])
84 83
85 # Classes that offer only static methods, and therefore we should suppress 84 # Classes that offer only static methods, and therefore we should suppress
86 # constructor creation. 85 # constructor creation.
87 _static_classes = set(['Url']) 86 _static_classes = set(['Url'])
88 87
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 for library_name in libraries: 1134 for library_name in libraries:
1136 self._libraries[library_name] = DartLibrary( 1135 self._libraries[library_name] = DartLibrary(
1137 library_name, template_loader, library_type, output_dir) 1136 library_name, template_loader, library_type, output_dir)
1138 1137
1139 def AddFile(self, basename, library_name, path): 1138 def AddFile(self, basename, library_name, path):
1140 self._libraries[library_name].AddFile(path) 1139 self._libraries[library_name].AddFile(path)
1141 1140
1142 def Emit(self, emitter, auxiliary_dir): 1141 def Emit(self, emitter, auxiliary_dir):
1143 for lib in self._libraries.values(): 1142 for lib in self._libraries.values():
1144 lib.Emit(emitter, auxiliary_dir) 1143 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | tools/dom/templates/html/dart2js/impl_Notification.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698