OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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 * Copyright (C) 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #ifndef NDEBUG | 129 #ifndef NDEBUG |
130 virtual bool isAnimatableAttribute(const QualifiedName&) const; | 130 virtual bool isAnimatableAttribute(const QualifiedName&) const; |
131 #endif | 131 #endif |
132 | 132 |
133 MutableStylePropertySet* animatedSMILStyleProperties() const; | 133 MutableStylePropertySet* animatedSMILStyleProperties() const; |
134 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); | 134 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); |
135 void setUseOverrideComputedStyle(bool); | 135 void setUseOverrideComputedStyle(bool); |
136 | 136 |
137 virtual bool haveLoadedRequiredResources(); | 137 virtual bool haveLoadedRequiredResources(); |
138 | 138 |
139 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture) OVERRIDE FINAL; | 139 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE FINAL; |
140 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture) OVERRIDE FINAL; | 140 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture = false) OVERRIDE FINAL; |
141 | 141 |
142 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); | 142 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); |
143 | 143 |
144 bool isContextElement() const { return m_isContextElement; } | 144 bool isContextElement() const { return m_isContextElement; } |
145 void setContextElement() { m_isContextElement = true; } | 145 void setContextElement() { m_isContextElement = true; } |
146 | 146 |
147 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>); | 147 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>); |
148 | 148 |
149 SVGAnimatedString* className() { return m_className.get(); } | 149 SVGAnimatedString* className() { return m_className.get(); } |
150 | 150 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 return DefaultHash<QualifiedName>::Hash::hash(key); | 226 return DefaultHash<QualifiedName>::Hash::hash(key); |
227 } | 227 } |
228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
229 }; | 229 }; |
230 | 230 |
231 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); | 231 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); |
232 | 232 |
233 } | 233 } |
234 | 234 |
235 #endif | 235 #endif |
OLD | NEW |