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

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

Issue 14519003: Absolutify paths to dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix testrunner Created 7 years, 8 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 | « Source/core/rendering/svg/SVGRenderTreeAsText.cpp ('k') | Source/core/storage/StorageEvent.h » ('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/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:
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 AtomicString::init(); 569 AtomicString::init();
570 "; 570 ";
571 } 571 }
572 572
573 sub printLicenseHeader 573 sub printLicenseHeader
574 { 574 {
575 my $F = shift; 575 my $F = shift;
576 print F "/* 576 print F "/*
577 * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. 577 * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
578 * 578 *
579 * This file was generated by the dom/make_names.pl script. 579 * This file was generated by the core/scripts/make_names.pl script.
580 * 580 *
581 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 581 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
582 * 582 *
583 * Redistribution and use in source and binary forms, with or without 583 * Redistribution and use in source and binary forms, with or without
584 * modification, are permitted provided that the following conditions 584 * modification, are permitted provided that the following conditions
585 * are met: 585 * are met:
586 * 1. Redistributions of source code must retain the above copyright 586 * 1. Redistributions of source code must retain the above copyright
587 * notice, this list of conditions and the following disclaimer. 587 * notice, this list of conditions and the following disclaimer.
588 * 2. Redistributions in binary form must reproduce the above copyright 588 * 2. Redistributions in binary form must reproduce the above copyright
589 * notice, this list of conditions and the following disclaimer in the 589 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
605 "; 605 ";
606 } 606 }
607 607
608 sub printNamesHeaderFile 608 sub printNamesHeaderFile
609 { 609 {
610 my ($headerPath) = shift; 610 my ($headerPath) = shift;
611 my $F; 611 my $F;
612 open F, ">$headerPath"; 612 open F, ">$headerPath";
613 613
614 printLicenseHeader($F); 614 printLicenseHeader($F);
615 printHeaderHead($F, "DOM", $parameters{namespace}, "#include \"QualifiedName .h\""); 615 printHeaderHead($F, "DOM", $parameters{namespace}, "#include \"core/dom/Qual ifiedName.h\"");
616 616
617 my $lowerNamespace = lc($parameters{namespacePrefix}); 617 my $lowerNamespace = lc($parameters{namespacePrefix});
618 print F "// Namespace\n"; 618 print F "// Namespace\n";
619 print F "extern const WTF::AtomicString ${lowerNamespace}NamespaceURI;\n\n"; 619 print F "extern const WTF::AtomicString ${lowerNamespace}NamespaceURI;\n\n";
620 620
621 if (keys %allTags) { 621 if (keys %allTags) {
622 print F "// Tags\n"; 622 print F "// Tags\n";
623 printMacros($F, "extern const WebCore::QualifiedName", "Tag", \%allTags) ; 623 printMacros($F, "extern const WebCore::QualifiedName", "Tag", \%allTags) ;
624 } 624 }
625 625
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 } 1262 }
1263 } 1263 }
1264 END 1264 END
1265 ; 1265 ;
1266 print F "#endif // $parameters{guardFactoryWith}\n\n" if $parameters{guardFa ctoryWith}; 1266 print F "#endif // $parameters{guardFactoryWith}\n\n" if $parameters{guardFa ctoryWith};
1267 1267
1268 print F "#endif // V8$parameters{namespace}ElementWrapperFactory_h\n"; 1268 print F "#endif // V8$parameters{namespace}ElementWrapperFactory_h\n";
1269 1269
1270 close F; 1270 close F;
1271 } 1271 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGRenderTreeAsText.cpp ('k') | Source/core/storage/StorageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698