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

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

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « tools/dom/scripts/all_tests.py ('k') | tools/dom/scripts/dartdomgenerator.py » ('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/python2.6 1 #!/usr/bin/python2.6
2 # 2 #
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """Generates CSSStyleDeclaration from css property definitions defined in WebKit .""" 7 """Generates CSSStyleDeclaration from css property definitions defined in WebKit ."""
8 8
9 import tempfile, os 9 import tempfile, os
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 interface_file.write(''.join(interface_lines)); 210 interface_file.write(''.join(interface_lines));
211 interface_file.write('}\n') 211 interface_file.write('}\n')
212 interface_file.close() 212 interface_file.close()
213 213
214 class_file.write(''.join(class_lines)); 214 class_file.write(''.join(class_lines));
215 class_file.write('}\n') 215 class_file.write('}\n')
216 class_file.close() 216 class_file.close()
217 217
218 if __name__ == '__main__': 218 if __name__ == '__main__':
219 main() 219 main()
OLDNEW
« no previous file with comments | « tools/dom/scripts/all_tests.py ('k') | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698