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 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 $getter =~ s/imp->//; | 1571 $getter =~ s/imp->//; |
1572 $getter =~ s/\(\)//; | 1572 $getter =~ s/\(\)//; |
1573 | 1573 |
1574 my $updateMethod = "&${implClassName}::update" . FirstLetterToUpperC
ase($getter); | 1574 my $updateMethod = "&${implClassName}::update" . FirstLetterToUpperC
ase($getter); |
1575 | 1575 |
1576 my $selfIsTearOffType = IsSVGTypeNeedingTearOff($interfaceName); | 1576 my $selfIsTearOffType = IsSVGTypeNeedingTearOff($interfaceName); |
1577 if ($selfIsTearOffType) { | 1577 if ($selfIsTearOffType) { |
1578 AddToImplIncludes("core/svg/properties/SVGStaticPropertyWithPare
ntTearOff.h"); | 1578 AddToImplIncludes("core/svg/properties/SVGStaticPropertyWithPare
ntTearOff.h"); |
1579 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParen
tTearOff<$implClassName, /; | 1579 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParen
tTearOff<$implClassName, /; |
1580 | 1580 |
1581 if ($expression =~ /matrix/ and $interfaceName eq "SVGTransform"
) { | |
1582 # SVGTransform offers a matrix() method for internal usage t
hat returns an AffineTransform | |
1583 # and a svgMatrix() method returning a SVGMatrix, used for t
he bindings. | |
1584 $expression =~ s/matrix/svgMatrix/; | |
1585 } | |
1586 | |
1587 $wrappedValue = "WTF::getPtr(${tearOffType}::create(wrapper, $ex
pression, $updateMethod))"; | 1581 $wrappedValue = "WTF::getPtr(${tearOffType}::create(wrapper, $ex
pression, $updateMethod))"; |
1588 } else { | 1582 } else { |
1589 AddToImplIncludes("core/svg/properties/SVGStaticPropertyTearOff.
h"); | 1583 AddToImplIncludes("core/svg/properties/SVGStaticPropertyTearOff.
h"); |
1590 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$
implClassName, /; | 1584 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$
implClassName, /; |
1591 | 1585 |
1592 $wrappedValue = "WTF::getPtr(${tearOffType}::create(imp, $expres
sion, $updateMethod))"; | 1586 $wrappedValue = "WTF::getPtr(${tearOffType}::create(imp, $expres
sion, $updateMethod))"; |
1593 } | 1587 } |
1594 } elsif ($tearOffType =~ /SVGStaticListPropertyTearOff/) { | 1588 } elsif ($tearOffType =~ /SVGStaticListPropertyTearOff/) { |
1595 $wrappedValue = "WTF::getPtr(${tearOffType}::create(imp, $expres
sion))"; | 1589 $wrappedValue = "WTF::getPtr(${tearOffType}::create(imp, $expres
sion))"; |
1596 } elsif ($tearOffType =~ /SVG(Point|PathSeg)List/) { | 1590 } elsif ($tearOffType =~ /SVG(Point|PathSeg)List/) { |
(...skipping 4416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6013 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6007 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
6014 $found = 1; | 6008 $found = 1; |
6015 } | 6009 } |
6016 return 1 if $found; | 6010 return 1 if $found; |
6017 }, 0); | 6011 }, 0); |
6018 | 6012 |
6019 return $found; | 6013 return $found; |
6020 } | 6014 } |
6021 | 6015 |
6022 1; | 6016 1; |
OLD | NEW |