OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const String& attrName, unsigned short attrChange
); | 55 const String& attrName, unsigned short attrChange
); |
56 | 56 |
57 Node* relatedNode() const { return m_relatedNode.get(); } | 57 Node* relatedNode() const { return m_relatedNode.get(); } |
58 String prevValue() const { return m_prevValue; } | 58 String prevValue() const { return m_prevValue; } |
59 String newValue() const { return m_newValue; } | 59 String newValue() const { return m_newValue; } |
60 String attrName() const { return m_attrName; } | 60 String attrName() const { return m_attrName; } |
61 unsigned short attrChange() const { return m_attrChange; } | 61 unsigned short attrChange() const { return m_attrChange; } |
62 | 62 |
63 virtual const AtomicString& interfaceName() const OVERRIDE; | 63 virtual const AtomicString& interfaceName() const OVERRIDE; |
64 | 64 |
| 65 virtual void trace(Visitor*) OVERRIDE; |
| 66 |
65 private: | 67 private: |
66 MutationEvent(); | 68 MutationEvent(); |
67 MutationEvent(const AtomicString& type, bool canBubble, bool cancelable,
PassRefPtr<Node> relatedNode, | 69 MutationEvent(const AtomicString& type, bool canBubble, bool cancelable,
PassRefPtr<Node> relatedNode, |
68 const String& prevValue, const String& newValue, | 70 const String& prevValue, const String& newValue, |
69 const String& attrName, unsigned short attrChange); | 71 const String& attrName, unsigned short attrChange); |
70 | 72 |
71 RefPtr<Node> m_relatedNode; | 73 RefPtr<Node> m_relatedNode; |
72 String m_prevValue; | 74 String m_prevValue; |
73 String m_newValue; | 75 String m_newValue; |
74 String m_attrName; | 76 String m_attrName; |
75 unsigned short m_attrChange; | 77 unsigned short m_attrChange; |
76 }; | 78 }; |
77 | 79 |
78 } // namespace WebCore | 80 } // namespace WebCore |
79 | 81 |
80 #endif // MutationEvent_h | 82 #endif // MutationEvent_h |
OLD | NEW |