| OLD | NEW |
| 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |
| 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |
| 5 # Copyright (C) 2006 Apple Computer, Inc. | 5 # Copyright (C) 2006 Apple Computer, Inc. |
| 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. | 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. |
| 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |
| (...skipping 4863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4874 my $paramName = $parameter->name; | 4874 my $paramName = $parameter->name; |
| 4875 my $paramType = $parameter->type; | 4875 my $paramType = $parameter->type; |
| 4876 | 4876 |
| 4877 if ($replacements{$paramName}) { | 4877 if ($replacements{$paramName}) { |
| 4878 push @arguments, $replacements{$paramName}; | 4878 push @arguments, $replacements{$paramName}; |
| 4879 } elsif ($parameter->type eq "NodeFilter" || $parameter->type eq "XPathN
SResolver") { | 4879 } elsif ($parameter->type eq "NodeFilter" || $parameter->type eq "XPathN
SResolver") { |
| 4880 push @arguments, "$paramName.get()"; | 4880 push @arguments, "$paramName.get()"; |
| 4881 } elsif (IsSVGTypeNeedingTearOff($parameter->type) and not $interfaceNam
e =~ /List$/) { | 4881 } elsif (IsSVGTypeNeedingTearOff($parameter->type) and not $interfaceNam
e =~ /List$/) { |
| 4882 push @arguments, "$paramName->propertyReference()"; | 4882 push @arguments, "$paramName->propertyReference()"; |
| 4883 $code .= $indent . "if (!$paramName) {\n"; | 4883 $code .= $indent . "if (!$paramName) {\n"; |
| 4884 $code .= $indent . " setDOMException(WebCore::TYPE_MISMATCH_ERR,
args.GetIsolate());\n"; | 4884 $code .= $indent . " setDOMException(WebCore::TypeMismatchError,
args.GetIsolate());\n"; |
| 4885 $code .= $indent . " return;\n"; | 4885 $code .= $indent . " return;\n"; |
| 4886 $code .= $indent . "}\n"; | 4886 $code .= $indent . "}\n"; |
| 4887 } elsif ($parameter->type eq "SVGMatrix" and $interfaceName eq "SVGTrans
formList") { | 4887 } elsif ($parameter->type eq "SVGMatrix" and $interfaceName eq "SVGTrans
formList") { |
| 4888 push @arguments, "$paramName.get()"; | 4888 push @arguments, "$paramName.get()"; |
| 4889 } else { | 4889 } else { |
| 4890 push @arguments, $paramName; | 4890 push @arguments, $paramName; |
| 4891 } | 4891 } |
| 4892 $index++; | 4892 $index++; |
| 4893 } | 4893 } |
| 4894 | 4894 |
| (...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6039 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6039 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
| 6040 $found = 1; | 6040 $found = 1; |
| 6041 } | 6041 } |
| 6042 return 1 if $found; | 6042 return 1 if $found; |
| 6043 }, 0); | 6043 }, 0); |
| 6044 | 6044 |
| 6045 return $found; | 6045 return $found; |
| 6046 } | 6046 } |
| 6047 | 6047 |
| 6048 1; | 6048 1; |
| OLD | NEW |