| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |