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, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 void setValue(const AtomicString&); | 46 void setValue(const AtomicString&); |
47 | 47 |
48 const AtomicString& valueForBindings() const; | 48 const AtomicString& valueForBindings() const; |
49 void setValueForBindings(const AtomicString&); | 49 void setValueForBindings(const AtomicString&); |
50 | 50 |
51 const QualifiedName qualifiedName() const; | 51 const QualifiedName qualifiedName() const; |
52 | 52 |
53 void attachToElement(Element*, const AtomicString&); | 53 void attachToElement(Element*, const AtomicString&); |
54 void detachFromElementWithValue(const AtomicString&); | 54 void detachFromElementWithValue(const AtomicString&); |
55 | 55 |
56 const AtomicString& localName() const override { return m_name.localName();
} | 56 const AtomicString& localName() const { return m_name.localName(); } |
57 const AtomicString& namespaceURI() const override { return m_name.namespaceU
RI(); } | 57 const AtomicString& namespaceURI() const { return m_name.namespaceURI(); } |
58 const AtomicString& prefix() const { return m_name.prefix(); } | 58 const AtomicString& prefix() const { return m_name.prefix(); } |
59 | 59 |
60 DECLARE_VIRTUAL_TRACE(); | 60 DECLARE_VIRTUAL_TRACE(); |
61 | 61 |
62 private: | 62 private: |
63 Attr(Element&, const QualifiedName&); | 63 Attr(Element&, const QualifiedName&); |
64 Attr(Document&, const QualifiedName&, const AtomicString& value); | 64 Attr(Document&, const QualifiedName&, const AtomicString& value); |
65 | 65 |
66 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 66 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
67 | 67 |
(...skipping 15 matching lines...) Expand all Loading... |
83 // differ from m_name's local name. As these two modes are non-overlapping, | 83 // differ from m_name's local name. As these two modes are non-overlapping, |
84 // use a single field. | 84 // use a single field. |
85 AtomicString m_standaloneValueOrAttachedLocalName; | 85 AtomicString m_standaloneValueOrAttachedLocalName; |
86 }; | 86 }; |
87 | 87 |
88 DEFINE_NODE_TYPE_CASTS(Attr, isAttributeNode()); | 88 DEFINE_NODE_TYPE_CASTS(Attr, isAttributeNode()); |
89 | 89 |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 #endif // Attr_h | 92 #endif // Attr_h |
OLD | NEW |