| 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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 protected: | 101 protected: |
| 102 NodeRareDataBase(RenderObject* renderer) | 102 NodeRareDataBase(RenderObject* renderer) |
| 103 : m_renderer(renderer) | 103 : m_renderer(renderer) |
| 104 { } | 104 { } |
| 105 | 105 |
| 106 private: | 106 private: |
| 107 RenderObject* m_renderer; | 107 RenderObject* m_renderer; |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 class Node : public TreeSharedWillBeRefCountedGarbageCollected<Node>, public Eve
ntTarget, public ScriptWrappable { | 110 class Node : public EventTarget, public ScriptWrappable, public TreeSharedWillBe
RefCountedGarbageCollected<Node> { |
| 111 friend class Document; | 111 friend class Document; |
| 112 friend class TreeScope; | 112 friend class TreeScope; |
| 113 friend class TreeScopeAdopter; | 113 friend class TreeScopeAdopter; |
| 114 | 114 |
| 115 DEFINE_EVENT_TARGET_REFCOUNTING(TreeSharedWillBeRefCountedGarbageCollected<N
ode>); | 115 DEFINE_EVENT_TARGET_REFCOUNTING(TreeSharedWillBeRefCountedGarbageCollected<N
ode>); |
| 116 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Node); | 116 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Node); |
| 117 public: | 117 public: |
| 118 enum NodeType { | 118 enum NodeType { |
| 119 ELEMENT_NODE = 1, | 119 ELEMENT_NODE = 1, |
| 120 ATTRIBUTE_NODE = 2, | 120 ATTRIBUTE_NODE = 2, |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 } // namespace WebCore | 907 } // namespace WebCore |
| 908 | 908 |
| 909 #ifndef NDEBUG | 909 #ifndef NDEBUG |
| 910 // Outside the WebCore namespace for ease of invocation from gdb. | 910 // Outside the WebCore namespace for ease of invocation from gdb. |
| 911 void showNode(const WebCore::Node*); | 911 void showNode(const WebCore::Node*); |
| 912 void showTree(const WebCore::Node*); | 912 void showTree(const WebCore::Node*); |
| 913 void showNodePath(const WebCore::Node*); | 913 void showNodePath(const WebCore::Node*); |
| 914 #endif | 914 #endif |
| 915 | 915 |
| 916 #endif | 916 #endif |
| OLD | NEW |