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

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

Issue 25777002: Move custom element code to core/dom/custom/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/html/HTMLImportLoader.cpp ('k') | Source/web/WebCustomElement.cpp » ('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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 printElementIncludes($F); 796 printElementIncludes($F);
797 797
798 print F "\n#include \"wtf/HashMap.h\"\n"; 798 print F "\n#include \"wtf/HashMap.h\"\n";
799 799
800 printConditionalElementIncludes($F); 800 printConditionalElementIncludes($F);
801 801
802 print F <<END 802 print F <<END
803 803
804 #include "RuntimeEnabledFeatures.h" 804 #include "RuntimeEnabledFeatures.h"
805 #include "core/dom/ContextFeatures.h" 805 #include "core/dom/ContextFeatures.h"
806 #include "core/dom/CustomElement.h" 806 #include "core/dom/custom/CustomElement.h"
807 #include "core/dom/CustomElementRegistrationContext.h" 807 #include "core/dom/custom/CustomElementRegistrationContext.h"
808 #include "core/dom/Document.h" 808 #include "core/dom/Document.h"
809 #include "core/page/Settings.h" 809 #include "core/page/Settings.h"
810 810
811 namespace WebCore { 811 namespace WebCore {
812 812
813 using namespace $parameters{namespace}Names; 813 using namespace $parameters{namespace}Names;
814 814
815 END 815 END
816 ; 816 ;
817 817
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 print F StaticString::GenerateStringImpls(\%parameters); 1283 print F StaticString::GenerateStringImpls(\%parameters);
1284 1284
1285 while ( my ($name, $identifier) = each %parameters ) { 1285 while ( my ($name, $identifier) = each %parameters ) {
1286 print F " new ((void*)&$name) AtomicString(${name}Impl);\n"; 1286 print F " new ((void*)&$name) AtomicString(${name}Impl);\n";
1287 } 1287 }
1288 1288
1289 print F "}\n}\n}\n"; 1289 print F "}\n}\n}\n";
1290 close F; 1290 close F;
1291 exit 0; 1291 exit 0;
1292 } 1292 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImportLoader.cpp ('k') | Source/web/WebCustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698