| 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 * |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "EventListener.h" | 30 #include "EventListener.h" |
| 31 #include "EventNames.h" | 31 #include "EventNames.h" |
| 32 #include "Frame.h" | 32 #include "Frame.h" |
| 33 #include "FrameSelection.h" | 33 #include "FrameSelection.h" |
| 34 #include "FrameTree.h" | 34 #include "FrameTree.h" |
| 35 #include "FrameView.h" | 35 #include "FrameView.h" |
| 36 #include "HTMLNames.h" | 36 #include "HTMLNames.h" |
| 37 #include "NodeTraversal.h" | 37 #include "NodeTraversal.h" |
| 38 #include "RenderObject.h" | 38 #include "RenderObject.h" |
| 39 #include "RenderPart.h" | 39 #include "RenderPart.h" |
| 40 #include "RenderSVGModelObject.h" | |
| 41 #include "RenderSVGResource.h" | |
| 42 #include "RenderSVGRoot.h" | |
| 43 #include "RenderSVGViewportContainer.h" | |
| 44 #include "SMILTimeContainer.h" | 40 #include "SMILTimeContainer.h" |
| 45 #include "SVGAngle.h" | 41 #include "SVGAngle.h" |
| 46 #include "SVGElementInstance.h" | 42 #include "SVGElementInstance.h" |
| 47 #include "SVGFitToViewBox.h" | 43 #include "SVGFitToViewBox.h" |
| 48 #include "SVGNames.h" | 44 #include "SVGNames.h" |
| 49 #include "SVGPreserveAspectRatio.h" | 45 #include "SVGPreserveAspectRatio.h" |
| 50 #include "SVGTransform.h" | 46 #include "SVGTransform.h" |
| 51 #include "SVGTransformList.h" | 47 #include "SVGTransformList.h" |
| 52 #include "SVGViewElement.h" | 48 #include "SVGViewElement.h" |
| 53 #include "SVGViewSpec.h" | 49 #include "SVGViewSpec.h" |
| 54 #include "SVGZoomEvent.h" | 50 #include "SVGZoomEvent.h" |
| 55 #include "ScriptEventListener.h" | 51 #include "ScriptEventListener.h" |
| 56 #include "StaticNodeList.h" | 52 #include "StaticNodeList.h" |
| 57 #include "core/platform/FloatConversion.h" | 53 #include "core/platform/FloatConversion.h" |
| 58 #include "core/platform/graphics/FloatRect.h" | 54 #include "core/platform/graphics/FloatRect.h" |
| 59 #include "core/platform/graphics/transforms/AffineTransform.h" | 55 #include "core/platform/graphics/transforms/AffineTransform.h" |
| 56 #include "core/rendering/svg/RenderSVGModelObject.h" |
| 57 #include "core/rendering/svg/RenderSVGResource.h" |
| 58 #include "core/rendering/svg/RenderSVGRoot.h" |
| 59 #include "core/rendering/svg/RenderSVGViewportContainer.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 |