OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>); | 62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>); |
63 | 63 |
64 SVGAnimatedLength* refX() const { return m_refX.get(); } | 64 SVGAnimatedLength* refX() const { return m_refX.get(); } |
65 SVGAnimatedLength* refY() const { return m_refY.get(); } | 65 SVGAnimatedLength* refY() const { return m_refY.get(); } |
66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); } | 66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); } |
67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } | 67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } |
68 SVGAnimatedEnumeration<SVGMarkerUnitsType>* markerUnits() { return m_markerU
nits.get(); } | 68 SVGAnimatedEnumeration<SVGMarkerUnitsType>* markerUnits() { return m_markerU
nits.get(); } |
69 SVGAnimatedAngle* orientAngle() { return m_orientAngle.get(); } | 69 SVGAnimatedAngle* orientAngle() { return m_orientAngle.get(); } |
70 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientA
ngle->orientType(); } | 70 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientA
ngle->orientType(); } |
71 | 71 |
| 72 virtual bool supportsFocus() const OVERRIDE { return false; } |
| 73 |
72 private: | 74 private: |
73 explicit SVGMarkerElement(Document&); | 75 explicit SVGMarkerElement(Document&); |
74 | 76 |
75 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } | 77 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } |
76 | 78 |
77 bool isSupportedAttribute(const QualifiedName&); | 79 bool isSupportedAttribute(const QualifiedName&); |
78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 80 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
79 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 81 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
80 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 82 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
81 | 83 |
82 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 84 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
83 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return true; } | 85 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return true; } |
84 | 86 |
85 virtual bool selfHasRelativeLengths() const OVERRIDE; | 87 virtual bool selfHasRelativeLengths() const OVERRIDE; |
86 | 88 |
87 RefPtr<SVGAnimatedLength> m_refX; | 89 RefPtr<SVGAnimatedLength> m_refX; |
88 RefPtr<SVGAnimatedLength> m_refY; | 90 RefPtr<SVGAnimatedLength> m_refY; |
89 RefPtr<SVGAnimatedLength> m_markerWidth; | 91 RefPtr<SVGAnimatedLength> m_markerWidth; |
90 RefPtr<SVGAnimatedLength> m_markerHeight; | 92 RefPtr<SVGAnimatedLength> m_markerHeight; |
91 RefPtr<SVGAnimatedAngle> m_orientAngle; | 93 RefPtr<SVGAnimatedAngle> m_orientAngle; |
92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; | 94 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; |
93 }; | 95 }; |
94 | 96 |
95 } | 97 } |
96 | 98 |
97 #endif | 99 #endif |
OLD | NEW |