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, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009, 2014 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 typedef HeapHashSet<Member<SVGElement>> SVGElementSet; | 51 typedef HeapHashSet<Member<SVGElement>> SVGElementSet; |
52 | 52 |
53 class CORE_EXPORT SVGElement : public Element { | 53 class CORE_EXPORT SVGElement : public Element { |
54 DEFINE_WRAPPERTYPEINFO(); | 54 DEFINE_WRAPPERTYPEINFO(); |
55 | 55 |
56 public: | 56 public: |
57 ~SVGElement() override; | 57 ~SVGElement() override; |
58 void attachLayoutTree(const AttachContext&) override; | 58 void attachLayoutTree(const AttachContext&) override; |
59 void detachLayoutTree(const AttachContext&) override; | 59 void detachLayoutTree(const AttachContext&) override; |
60 | 60 |
61 short tabIndex() const override; | 61 int tabIndex() const override; |
62 bool supportsFocus() const override { return false; } | 62 bool supportsFocus() const override { return false; } |
63 | 63 |
64 bool isOutermostSVGSVGElement() const; | 64 bool isOutermostSVGSVGElement() const; |
65 | 65 |
66 bool hasTagName(const SVGQualifiedName& name) const { | 66 bool hasTagName(const SVGQualifiedName& name) const { |
67 return hasLocalName(name.localName()); | 67 return hasLocalName(name.localName()); |
68 } | 68 } |
69 | 69 |
70 String title() const override; | 70 String title() const override; |
71 bool hasRelativeLengths() const { | 71 bool hasRelativeLengths() const { |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ | 343 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ |
344 return is##thisType(element); \ | 344 return is##thisType(element); \ |
345 } \ | 345 } \ |
346 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 346 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
347 | 347 |
348 } // namespace blink | 348 } // namespace blink |
349 | 349 |
350 #include "core/SVGElementTypeHelpers.h" | 350 #include "core/SVGElementTypeHelpers.h" |
351 | 351 |
352 #endif // SVGElement_h | 352 #endif // SVGElement_h |
OLD | NEW |