OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // A fast function for checking the local name against another atomic string
. | 240 // A fast function for checking the local name against another atomic string
. |
241 bool hasLocalName(const AtomicString& other) const { return m_tagName.localN
ame() == other; } | 241 bool hasLocalName(const AtomicString& other) const { return m_tagName.localN
ame() == other; } |
242 | 242 |
243 virtual const AtomicString& localName() const override final { return m_tagN
ame.localName(); } | 243 virtual const AtomicString& localName() const override final { return m_tagN
ame.localName(); } |
244 AtomicString localNameForSelectorMatching() const; | 244 AtomicString localNameForSelectorMatching() const; |
245 const AtomicString& prefix() const { return m_tagName.prefix(); } | 245 const AtomicString& prefix() const { return m_tagName.prefix(); } |
246 virtual const AtomicString& namespaceURI() const override final { return m_t
agName.namespaceURI(); } | 246 virtual const AtomicString& namespaceURI() const override final { return m_t
agName.namespaceURI(); } |
247 | 247 |
248 const AtomicString& locateNamespacePrefix(const AtomicString& namespaceURI)
const; | 248 const AtomicString& locateNamespacePrefix(const AtomicString& namespaceURI)
const; |
249 | 249 |
250 virtual KURL baseURI() const override final; | |
251 | |
252 virtual String nodeName() const override; | 250 virtual String nodeName() const override; |
253 | 251 |
254 PassRefPtrWillBeRawPtr<Element> cloneElementWithChildren(); | 252 PassRefPtrWillBeRawPtr<Element> cloneElementWithChildren(); |
255 PassRefPtrWillBeRawPtr<Element> cloneElementWithoutChildren(); | 253 PassRefPtrWillBeRawPtr<Element> cloneElementWithoutChildren(); |
256 | 254 |
257 void scheduleSVGFilterLayerUpdateHack(); | 255 void scheduleSVGFilterLayerUpdateHack(); |
258 | 256 |
259 void normalizeAttributes(); | 257 void normalizeAttributes(); |
260 | 258 |
261 void setBooleanAttribute(const QualifiedName& name, bool); | 259 void setBooleanAttribute(const QualifiedName& name, bool); |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 907 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
910 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 908 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
911 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 909 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
912 { \ | 910 { \ |
913 return adoptRefWillBeNoop(new T(tagName, document)); \ | 911 return adoptRefWillBeNoop(new T(tagName, document)); \ |
914 } | 912 } |
915 | 913 |
916 } // namespace | 914 } // namespace |
917 | 915 |
918 #endif // Element_h | 916 #endif // Element_h |
OLD | NEW |