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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 static bool isSupported(const String& feature, const String& version); | 151 static bool isSupported(const String& feature, const String& version); |
152 | 152 |
153 static void startIgnoringLeaks(); | 153 static void startIgnoringLeaks(); |
154 static void stopIgnoringLeaks(); | 154 static void stopIgnoringLeaks(); |
155 | 155 |
156 static void dumpStatistics(); | 156 static void dumpStatistics(); |
157 | 157 |
158 enum StyleChange { NoChange, NoInherit, Inherit, Detach, Force }; | 158 enum StyleChange { NoChange, NoInherit, Inherit, Detach, Force }; |
159 static StyleChange diff(const RenderStyle*, const RenderStyle*, Document*); | 159 static StyleChange diff(const RenderStyle*, const RenderStyle*, Document*); |
160 | 160 |
| 161 OVERRIDE_NEW_ALL_SUBCLASSES_HAVE_DYNAMIC_ACCEPT(Node); |
161 virtual ~Node(); | 162 virtual ~Node(); |
162 void willBeDeletedFrom(Document*); | 163 void willBeDeletedFrom(Document*); |
163 | 164 |
164 // DOM methods & attributes for Node | 165 // DOM methods & attributes for Node |
165 | 166 |
166 bool hasTagName(const QualifiedName&) const; | 167 bool hasTagName(const QualifiedName&) const; |
167 bool hasLocalName(const AtomicString&) const; | 168 bool hasLocalName(const AtomicString&) const; |
168 virtual String nodeName() const = 0; | 169 virtual String nodeName() const = 0; |
169 virtual String nodeValue() const; | 170 virtual String nodeValue() const; |
170 virtual void setNodeValue(const String&, ExceptionCode&); | 171 virtual void setNodeValue(const String&, ExceptionCode&); |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 | 874 |
874 } //namespace | 875 } //namespace |
875 | 876 |
876 #ifndef NDEBUG | 877 #ifndef NDEBUG |
877 // Outside the WebCore namespace for ease of invocation from gdb. | 878 // Outside the WebCore namespace for ease of invocation from gdb. |
878 void showTree(const WebCore::Node*); | 879 void showTree(const WebCore::Node*); |
879 void showNodePath(const WebCore::Node*); | 880 void showNodePath(const WebCore::Node*); |
880 #endif | 881 #endif |
881 | 882 |
882 #endif | 883 #endif |
OLD | NEW |