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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 // FIXME: Author shadows should be allowed | 225 // FIXME: Author shadows should be allowed |
226 // https://bugs.webkit.org/show_bug.cgi?id=77938 | 226 // https://bugs.webkit.org/show_bug.cgi?id=77938 |
227 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false;
} | 227 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false;
} |
228 | 228 |
229 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 229 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
230 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) OVERRIDE FINAL { return computedStyle(pseudoElementSpecifier); } | 230 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) OVERRIDE FINAL { return computedStyle(pseudoElementSpecifier); } |
231 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; | 231 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; |
232 | 232 |
233 void buildPendingResourcesIfNeeded(); | 233 void buildPendingResourcesIfNeeded(); |
234 | 234 |
235 bool supportsSpatialNavigationFocus() const; | |
236 | |
237 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementsWithRelativ
eLengths; | 235 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementsWithRelativ
eLengths; |
238 | 236 |
239 typedef HashMap<QualifiedName, RefPtr<SVGAnimatedPropertyBase> > AttributeTo
PropertyMap; | 237 typedef HashMap<QualifiedName, RefPtr<SVGAnimatedPropertyBase> > AttributeTo
PropertyMap; |
240 AttributeToPropertyMap m_newAttributeToPropertyMap; | 238 AttributeToPropertyMap m_newAttributeToPropertyMap; |
241 | 239 |
242 #if ASSERT_ENABLED | 240 #if ASSERT_ENABLED |
243 bool m_inRelativeLengthClientsInvalidation; | 241 bool m_inRelativeLengthClientsInvalidation; |
244 #endif | 242 #endif |
245 unsigned m_isContextElement : 1; | 243 unsigned m_isContextElement : 1; |
246 | 244 |
(...skipping 13 matching lines...) Expand all Loading... |
260 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
261 }; | 259 }; |
262 | 260 |
263 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); | 261 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); |
264 | 262 |
265 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } | 263 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } |
266 | 264 |
267 } | 265 } |
268 | 266 |
269 #endif | 267 #endif |
OLD | NEW |