| 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, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, Inc. |
| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 float getCurrentTime() const; | 83 float getCurrentTime() const; |
| 84 void setCurrentTime(float seconds); | 84 void setCurrentTime(float seconds); |
| 85 | 85 |
| 86 // Stubs for the deprecated 'redraw' interface. | 86 // Stubs for the deprecated 'redraw' interface. |
| 87 unsigned suspendRedraw(unsigned) { return 1; } | 87 unsigned suspendRedraw(unsigned) { return 1; } |
| 88 void unsuspendRedraw(unsigned) { } | 88 void unsuspendRedraw(unsigned) { } |
| 89 void unsuspendRedrawAll() { } | 89 void unsuspendRedrawAll() { } |
| 90 void forceRedraw() { } | 90 void forceRedraw() { } |
| 91 | 91 |
| 92 PassRefPtrWillBeRawPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearO
ff>, SVGElement* referenceElement) const; | 92 PassRefPtrWillBeRawPtr<StaticNodeList> getIntersectionList(PassRefPtr<SVGRec
tTearOff>, SVGElement* referenceElement) const; |
| 93 PassRefPtrWillBeRawPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>
, SVGElement* referenceElement) const; | 93 PassRefPtrWillBeRawPtr<StaticNodeList> getEnclosureList(PassRefPtr<SVGRectTe
arOff>, SVGElement* referenceElement) const; |
| 94 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const; | 94 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const; |
| 95 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const; | 95 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const; |
| 96 void deselectAll(); | 96 void deselectAll(); |
| 97 | 97 |
| 98 static PassRefPtr<SVGNumberTearOff> createSVGNumber(); | 98 static PassRefPtr<SVGNumberTearOff> createSVGNumber(); |
| 99 static PassRefPtr<SVGLengthTearOff> createSVGLength(); | 99 static PassRefPtr<SVGLengthTearOff> createSVGLength(); |
| 100 static PassRefPtr<SVGAngleTearOff> createSVGAngle(); | 100 static PassRefPtr<SVGAngleTearOff> createSVGAngle(); |
| 101 static PassRefPtr<SVGPointTearOff> createSVGPoint(); | 101 static PassRefPtr<SVGPointTearOff> createSVGPoint(); |
| 102 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix(); | 102 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix(); |
| 103 static PassRefPtr<SVGRectTearOff> createSVGRect(); | 103 static PassRefPtr<SVGRectTearOff> createSVGRect(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 void updateCurrentTranslate(); | 141 void updateCurrentTranslate(); |
| 142 | 142 |
| 143 virtual void finishParsingChildren() OVERRIDE; | 143 virtual void finishParsingChildren() OVERRIDE; |
| 144 | 144 |
| 145 enum CheckIntersectionOrEnclosure { | 145 enum CheckIntersectionOrEnclosure { |
| 146 CheckIntersection, | 146 CheckIntersection, |
| 147 CheckEnclosure | 147 CheckEnclosure |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check
IntersectionOrEnclosure) const; | 150 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check
IntersectionOrEnclosure) const; |
| 151 PassRefPtrWillBeRawPtr<NodeList> collectIntersectionOrEnclosureList(const Fl
oatRect&, SVGElement*, CheckIntersectionOrEnclosure) const; | 151 PassRefPtrWillBeRawPtr<StaticNodeList> collectIntersectionOrEnclosureList(co
nst FloatRect&, SVGElement*, CheckIntersectionOrEnclosure) const; |
| 152 | 152 |
| 153 RefPtr<SVGAnimatedLength> m_x; | 153 RefPtr<SVGAnimatedLength> m_x; |
| 154 RefPtr<SVGAnimatedLength> m_y; | 154 RefPtr<SVGAnimatedLength> m_y; |
| 155 RefPtr<SVGAnimatedLength> m_width; | 155 RefPtr<SVGAnimatedLength> m_width; |
| 156 RefPtr<SVGAnimatedLength> m_height; | 156 RefPtr<SVGAnimatedLength> m_height; |
| 157 | 157 |
| 158 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; | 158 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; |
| 159 | 159 |
| 160 bool m_useCurrentView; | 160 bool m_useCurrentView; |
| 161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; | 161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
| 162 RefPtr<SVGPoint> m_translation; | 162 RefPtr<SVGPoint> m_translation; |
| 163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; | 163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; |
| 164 | 164 |
| 165 friend class SVGCurrentTranslateTearOff; | 165 friend class SVGCurrentTranslateTearOff; |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace WebCore | 168 } // namespace WebCore |
| 169 | 169 |
| 170 #endif | 170 #endif |
| OLD | NEW |