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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode)
; | 107 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode)
; |
108 | 108 |
109 bool hasIntrinsicWidth() const; | 109 bool hasIntrinsicWidth() const; |
110 bool hasIntrinsicHeight() const; | 110 bool hasIntrinsicHeight() const; |
111 | 111 |
112 SVGAnimatedLength* x() const { return m_x.get(); } | 112 SVGAnimatedLength* x() const { return m_x.get(); } |
113 SVGAnimatedLength* y() const { return m_y.get(); } | 113 SVGAnimatedLength* y() const { return m_y.get(); } |
114 SVGAnimatedLength* width() const { return m_width.get(); } | 114 SVGAnimatedLength* width() const { return m_width.get(); } |
115 SVGAnimatedLength* height() const { return m_height.get(); } | 115 SVGAnimatedLength* height() const { return m_height.get(); } |
116 | 116 |
| 117 virtual void trace(Visitor*) OVERRIDE; |
| 118 |
117 private: | 119 private: |
118 explicit SVGSVGElement(Document&); | 120 explicit SVGSVGElement(Document&); |
119 virtual ~SVGSVGElement(); | 121 virtual ~SVGSVGElement(); |
120 | 122 |
121 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 123 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
122 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 124 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
123 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 125 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
124 | 126 |
125 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; | 127 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
126 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 128 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
(...skipping 20 matching lines...) Expand all Loading... |
147 PassRefPtrWillBeRawPtr<NodeList> collectIntersectionOrEnclosureList(const Fl
oatRect&, SVGElement*, CheckIntersectionOrEnclosure) const; | 149 PassRefPtrWillBeRawPtr<NodeList> collectIntersectionOrEnclosureList(const Fl
oatRect&, SVGElement*, CheckIntersectionOrEnclosure) const; |
148 | 150 |
149 RefPtr<SVGAnimatedLength> m_x; | 151 RefPtr<SVGAnimatedLength> m_x; |
150 RefPtr<SVGAnimatedLength> m_y; | 152 RefPtr<SVGAnimatedLength> m_y; |
151 RefPtr<SVGAnimatedLength> m_width; | 153 RefPtr<SVGAnimatedLength> m_width; |
152 RefPtr<SVGAnimatedLength> m_height; | 154 RefPtr<SVGAnimatedLength> m_height; |
153 | 155 |
154 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; | 156 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; |
155 | 157 |
156 bool m_useCurrentView; | 158 bool m_useCurrentView; |
157 RefPtr<SMILTimeContainer> m_timeContainer; | 159 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
158 RefPtr<SVGPoint> m_translation; | 160 RefPtr<SVGPoint> m_translation; |
159 RefPtr<SVGViewSpec> m_viewSpec; | 161 RefPtr<SVGViewSpec> m_viewSpec; |
160 | 162 |
161 friend class SVGCurrentTranslateTearOff; | 163 friend class SVGCurrentTranslateTearOff; |
162 }; | 164 }; |
163 | 165 |
164 } // namespace WebCore | 166 } // namespace WebCore |
165 | 167 |
166 #endif | 168 #endif |
OLD | NEW |