| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 DOCUMENT_POSITION_CONTAINS = 0x08, | 152 DOCUMENT_POSITION_CONTAINS = 0x08, |
| 153 DOCUMENT_POSITION_CONTAINED_BY = 0x10, | 153 DOCUMENT_POSITION_CONTAINED_BY = 0x10, |
| 154 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, | 154 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 // All Nodes are placed in their own heap partition for security. | 157 // All Nodes are placed in their own heap partition for security. |
| 158 // See http://crbug.com/246860 for detail. | 158 // See http://crbug.com/246860 for detail. |
| 159 void* operator new(size_t); | 159 void* operator new(size_t); |
| 160 void operator delete(void*); | 160 void operator delete(void*); |
| 161 | 161 |
| 162 static bool isSupported(const String& feature, const String& version); | |
| 163 static void dumpStatistics(); | 162 static void dumpStatistics(); |
| 164 | 163 |
| 165 virtual ~Node(); | 164 virtual ~Node(); |
| 166 | 165 |
| 167 // DOM methods & attributes for Node | 166 // DOM methods & attributes for Node |
| 168 | 167 |
| 169 bool hasTagName(const QualifiedName&) const; | 168 bool hasTagName(const QualifiedName&) const; |
| 170 virtual String nodeName() const = 0; | 169 virtual String nodeName() const = 0; |
| 171 virtual String nodeValue() const; | 170 virtual String nodeValue() const; |
| 172 virtual void setNodeValue(const String&); | 171 virtual void setNodeValue(const String&); |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 | 911 |
| 913 } // namespace WebCore | 912 } // namespace WebCore |
| 914 | 913 |
| 915 #ifndef NDEBUG | 914 #ifndef NDEBUG |
| 916 // Outside the WebCore namespace for ease of invocation from gdb. | 915 // Outside the WebCore namespace for ease of invocation from gdb. |
| 917 void showTree(const WebCore::Node*); | 916 void showTree(const WebCore::Node*); |
| 918 void showNodePath(const WebCore::Node*); | 917 void showNodePath(const WebCore::Node*); |
| 919 #endif | 918 #endif |
| 920 | 919 |
| 921 #endif | 920 #endif |
| OLD | NEW |