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

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

Issue 12474007: Revert 20127 (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',
78 'RTCIceCandidate', 79 'RTCIceCandidate',
79 'RTCPeerConnection', 80 'RTCPeerConnection',
80 'RTCSessionDescription', 81 'RTCSessionDescription',
81 'SpeechRecognition', 82 'SpeechRecognition',
82 ]) 83 ])
83 84
84 # Classes that offer only static methods, and therefore we should suppress 85 # Classes that offer only static methods, and therefore we should suppress
85 # constructor creation. 86 # constructor creation.
86 _static_classes = set(['Url']) 87 _static_classes = set(['Url'])
87 88
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 for library_name in libraries: 1135 for library_name in libraries:
1135 self._libraries[library_name] = DartLibrary( 1136 self._libraries[library_name] = DartLibrary(
1136 library_name, template_loader, library_type, output_dir) 1137 library_name, template_loader, library_type, output_dir)
1137 1138
1138 def AddFile(self, basename, library_name, path): 1139 def AddFile(self, basename, library_name, path):
1139 self._libraries[library_name].AddFile(path) 1140 self._libraries[library_name].AddFile(path)
1140 1141
1141 def Emit(self, emitter, auxiliary_dir): 1142 def Emit(self, emitter, auxiliary_dir):
1142 for lib in self._libraries.values(): 1143 for lib in self._libraries.values():
1143 lib.Emit(emitter, auxiliary_dir) 1144 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