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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 my $initDefaults = 1; | 59 my $initDefaults = 1; |
60 my %extensionAttrs = (); | 60 my %extensionAttrs = (); |
61 | 61 |
62 my %handlifiedTypeHash = ( | 62 my %handlifiedTypeHash = ( |
63 "HTMLAnchorElement" => 1, | 63 "HTMLAnchorElement" => 1, |
64 "HTMLAreaElement" => 1, | 64 "HTMLAreaElement" => 1, |
65 "HTMLBDIElement" => 1, | 65 "HTMLBDIElement" => 1, |
66 "HTMLBRElement" => 1, | 66 "HTMLBRElement" => 1, |
67 "HTMLBaseElement" => 1, | 67 "HTMLBaseElement" => 1, |
68 "HTMLBodyElement" => 1, | 68 "HTMLBodyElement" => 1, |
| 69 "HTMLButtonElement" => 1, |
| 70 "HTMLFieldSetElement" => 1, |
69 "HTMLHRElement" => 1, | 71 "HTMLHRElement" => 1, |
| 72 "HTMLKeygenElement" => 1, |
| 73 "HTMLOutputElement" => 1, |
| 74 "HTMLSelectElement" => 1, |
| 75 "HTMLInputElement" => 1, |
| 76 "HTMLTextAreaElement" => 1, |
| 77 "HTMLButtonElement" => 1, |
70 ); | 78 ); |
71 | 79 |
72 sub IsHandlifiedType | 80 sub IsHandlifiedType |
73 { | 81 { |
74 my $type = shift; | 82 my $type = shift; |
75 | 83 |
76 return 1 if $handlifiedTypeHash{$type}; | 84 return 1 if $handlifiedTypeHash{$type}; |
77 return 0; | 85 return 0; |
78 } | 86 } |
79 | 87 |
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 } | 1294 } |
1287 } | 1295 } |
1288 END | 1296 END |
1289 ; | 1297 ; |
1290 print F "#endif // $parameters{guardFactoryWith}\n\n" if $parameters{guardFa
ctoryWith}; | 1298 print F "#endif // $parameters{guardFactoryWith}\n\n" if $parameters{guardFa
ctoryWith}; |
1291 | 1299 |
1292 print F "#endif // V8$parameters{namespace}ElementWrapperFactory_h\n"; | 1300 print F "#endif // V8$parameters{namespace}ElementWrapperFactory_h\n"; |
1293 | 1301 |
1294 close F; | 1302 close F; |
1295 } | 1303 } |
OLD | NEW |