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

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

Issue 56933002: Version 0.8.10.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 logging 10 import logging
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 'Window.open', 91 'Window.open',
92 'Window.requestAnimationFrame', 92 'Window.requestAnimationFrame',
93 'Window.scrollX', 93 'Window.scrollX',
94 'Window.scrollY' 94 'Window.scrollY'
95 # 'WorkerContext.indexedDB', # Workers 95 # 'WorkerContext.indexedDB', # Workers
96 ], dart2jsOnly=True) 96 ], dart2jsOnly=True)
97 97
98 _js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [ 98 _js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [
99 'AudioContext', 99 'AudioContext',
100 'Blob', 100 'Blob',
101 'Comment',
101 'MutationObserver', 102 'MutationObserver',
102 'RTCIceCandidate', 103 'RTCIceCandidate',
103 'RTCPeerConnection', 104 'RTCPeerConnection',
104 'RTCSessionDescription', 105 'RTCSessionDescription',
105 'SpeechRecognition', 106 'SpeechRecognition',
106 ], dart2jsOnly=True) 107 ], dart2jsOnly=True)
107 108
108 # Classes that offer only static methods, and therefore we should suppress 109 # Classes that offer only static methods, and therefore we should suppress
109 # constructor creation. 110 # constructor creation.
110 _static_classes = set(['Url']) 111 _static_classes = set(['Url'])
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 for library_name in libraries: 1238 for library_name in libraries:
1238 self._libraries[library_name] = DartLibrary( 1239 self._libraries[library_name] = DartLibrary(
1239 library_name, template_loader, library_type, output_dir) 1240 library_name, template_loader, library_type, output_dir)
1240 1241
1241 def AddFile(self, basename, library_name, path): 1242 def AddFile(self, basename, library_name, path):
1242 self._libraries[library_name].AddFile(path) 1243 self._libraries[library_name].AddFile(path)
1243 1244
1244 def Emit(self, emitter, auxiliary_dir): 1245 def Emit(self, emitter, auxiliary_dir):
1245 for lib in self._libraries.values(): 1246 for lib in self._libraries.values():
1246 lib.Emit(emitter, auxiliary_dir) 1247 lib.Emit(emitter, auxiliary_dir)
OLDNEW
« no previous file with comments | « dart/tools/dom/scripts/htmlrenamer.py ('k') | dart/tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698