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

Side by Side Diff: Source/build/scripts/make_names.pl

Issue 27009005: Generate HTMLElementFactory with Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Actually use the code Created 7 years, 2 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/perl -w 1 #!/usr/bin/perl -w
2 2 #
3 # Copyright (C) 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. 3 # Copyright (C) 2005, 2006, 2007, 2009 Apple Inc. All rights reserved.
4 # Copyright (C) 2009, Julien Chaffraix <jchaffraix@webkit.org> 4 # Copyright (C) 2009, Julien Chaffraix <jchaffraix@webkit.org>
5 # Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmob ile.com/) 5 # Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmob ile.com/)
6 # Copyright (C) 2011 Ericsson AB. All rights reserved. 6 # Copyright (C) 2011 Ericsson AB. All rights reserved.
7 # 7 #
8 # Redistribution and use in source and binary forms, with or without 8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions 9 # modification, are permitted provided that the following conditions
10 # are met: 10 # are met:
11 # 11 #
12 # 1. Redistributions of source code must retain the above copyright 12 # 1. Redistributions of source code must retain the above copyright
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 print F StaticString::GenerateStringImpls(\%parameters); 1275 print F StaticString::GenerateStringImpls(\%parameters);
1276 1276
1277 while ( my ($name, $identifier) = each %parameters ) { 1277 while ( my ($name, $identifier) = each %parameters ) {
1278 print F " new ((void*)&$name) AtomicString(${name}Impl);\n"; 1278 print F " new ((void*)&$name) AtomicString(${name}Impl);\n";
1279 } 1279 }
1280 1280
1281 print F "}\n}\n}\n"; 1281 print F "}\n}\n}\n";
1282 close F; 1282 close F;
1283 exit 0; 1283 exit 0;
1284 } 1284 }
OLDNEW
« no previous file with comments | « Source/build/scripts/make_element_factory.py ('k') | Source/build/scripts/make_qualified_names.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698