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