| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 | 23 |
| 24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
| 25 #include "SVGSVGElement.h" | 25 #include "SVGSVGElement.h" |
| 26 | 26 |
| 27 #include "HTMLNames.h" | 27 #include "HTMLNames.h" |
| 28 #include "SMILTimeContainer.h" | |
| 29 #include "SVGAngle.h" | 28 #include "SVGAngle.h" |
| 30 #include "SVGElementInstance.h" | 29 #include "SVGElementInstance.h" |
| 31 #include "SVGFitToViewBox.h" | 30 #include "SVGFitToViewBox.h" |
| 32 #include "SVGNames.h" | 31 #include "SVGNames.h" |
| 33 #include "SVGPreserveAspectRatio.h" | 32 #include "SVGPreserveAspectRatio.h" |
| 34 #include "SVGTransform.h" | 33 #include "SVGTransform.h" |
| 35 #include "SVGTransformList.h" | 34 #include "SVGTransformList.h" |
| 36 #include "SVGViewElement.h" | 35 #include "SVGViewElement.h" |
| 37 #include "SVGViewSpec.h" | 36 #include "SVGViewSpec.h" |
| 38 #include "SVGZoomEvent.h" | 37 #include "SVGZoomEvent.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 50 #include "core/page/FrameView.h" | 49 #include "core/page/FrameView.h" |
| 51 #include "core/platform/FloatConversion.h" | 50 #include "core/platform/FloatConversion.h" |
| 52 #include "core/platform/graphics/FloatRect.h" | 51 #include "core/platform/graphics/FloatRect.h" |
| 53 #include "core/platform/graphics/transforms/AffineTransform.h" | 52 #include "core/platform/graphics/transforms/AffineTransform.h" |
| 54 #include "core/rendering/RenderObject.h" | 53 #include "core/rendering/RenderObject.h" |
| 55 #include "core/rendering/RenderPart.h" | 54 #include "core/rendering/RenderPart.h" |
| 56 #include "core/rendering/svg/RenderSVGModelObject.h" | 55 #include "core/rendering/svg/RenderSVGModelObject.h" |
| 57 #include "core/rendering/svg/RenderSVGResource.h" | 56 #include "core/rendering/svg/RenderSVGResource.h" |
| 58 #include "core/rendering/svg/RenderSVGRoot.h" | 57 #include "core/rendering/svg/RenderSVGRoot.h" |
| 59 #include "core/rendering/svg/RenderSVGViewportContainer.h" | 58 #include "core/rendering/svg/RenderSVGViewportContainer.h" |
| 59 #include "core/svg/animation/SMILTimeContainer.h" |
| 60 #include <wtf/StdLibExtras.h> | 60 #include <wtf/StdLibExtras.h> |
| 61 | 61 |
| 62 namespace WebCore { | 62 namespace WebCore { |
| 63 | 63 |
| 64 // Animated property definitions | 64 // Animated property definitions |
| 65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x) | 65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x) |
| 66 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y) | 66 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y) |
| 67 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width) | 67 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width) |
| 68 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height) | 68 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height) |
| 69 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr,
ExternalResourcesRequired, externalResourcesRequired) | 69 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr,
ExternalResourcesRequired, externalResourcesRequired) |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 Element* element = toElement(node); | 777 Element* element = toElement(node); |
| 778 if (element->getIdAttribute() == id) | 778 if (element->getIdAttribute() == id) |
| 779 return element; | 779 return element; |
| 780 } | 780 } |
| 781 return 0; | 781 return 0; |
| 782 } | 782 } |
| 783 | 783 |
| 784 } | 784 } |
| 785 | 785 |
| 786 #endif // ENABLE(SVG) | 786 #endif // ENABLE(SVG) |
| OLD | NEW |