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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 bool isId() const; | 58 bool isId() const; |
59 | 59 |
60 Result<CSSStyleDeclaration> style(); | 60 Result<CSSStyleDeclaration> style(); |
61 | 61 |
62 void setSpecified(bool specified) { m_specified = specified; } | 62 void setSpecified(bool specified) { m_specified = specified; } |
63 | 63 |
64 void attachToElement(Element*); | 64 void attachToElement(Element*); |
65 void detachFromElementWithValue(const AtomicString&); | 65 void detachFromElementWithValue(const AtomicString&); |
66 | 66 |
| 67 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 68 |
67 private: | 69 private: |
68 Attr(Element*, const QualifiedName&); | 70 Attr(Element*, const QualifiedName&); |
69 Attr(Handle<Document>, const QualifiedName&, const AtomicString& value); | 71 Attr(Handle<Document>, const QualifiedName&, const AtomicString& value); |
70 | 72 |
71 void createTextChild(); | 73 void createTextChild(); |
72 | 74 |
73 virtual String nodeName() const OVERRIDE { return name(); } | 75 virtual String nodeName() const OVERRIDE { return name(); } |
74 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; } | 76 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; } |
75 | 77 |
76 const AtomicString& localName() const { return m_name.localName(); } | 78 const AtomicString& localName() const { return m_name.localName(); } |
(...skipping 24 matching lines...) Expand all Loading... |
101 AtomicString m_standaloneValue; | 103 AtomicString m_standaloneValue; |
102 | 104 |
103 Persistent<StylePropertySet> m_style; | 105 Persistent<StylePropertySet> m_style; |
104 unsigned m_ignoreChildrenChanged : 31; | 106 unsigned m_ignoreChildrenChanged : 31; |
105 bool m_specified : 1; | 107 bool m_specified : 1; |
106 }; | 108 }; |
107 | 109 |
108 } // namespace WebCore | 110 } // namespace WebCore |
109 | 111 |
110 #endif // Attr_h | 112 #endif // Attr_h |
OLD | NEW |