| 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-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 | 218 |
| 219 bool isSameNode(Node* other) const { return this == other; } | 219 bool isSameNode(Node* other) const { return this == other; } |
| 220 bool isEqualNode(Node*) const; | 220 bool isEqualNode(Node*) const; |
| 221 bool isDefaultNamespace(const AtomicString& namespaceURI) const; | 221 bool isDefaultNamespace(const AtomicString& namespaceURI) const; |
| 222 const AtomicString& lookupPrefix(const AtomicString& namespaceURI) const; | 222 const AtomicString& lookupPrefix(const AtomicString& namespaceURI) const; |
| 223 const AtomicString& lookupNamespaceURI(const String& prefix) const; | 223 const AtomicString& lookupNamespaceURI(const String& prefix) const; |
| 224 | 224 |
| 225 String textContent(bool convertBRsToNewlines = false) const; | 225 String textContent(bool convertBRsToNewlines = false) const; |
| 226 void setTextContent(const String&); | 226 void setTextContent(const String&); |
| 227 | 227 |
| 228 const AtomicString& computedRole(); |
| 229 const String computedText(); |
| 230 |
| 228 // Other methods (not part of DOM) | 231 // Other methods (not part of DOM) |
| 229 | 232 |
| 230 bool isElementNode() const { return getFlag(IsElementFlag); } | 233 bool isElementNode() const { return getFlag(IsElementFlag); } |
| 231 bool isContainerNode() const { return getFlag(IsContainerFlag); } | 234 bool isContainerNode() const { return getFlag(IsContainerFlag); } |
| 232 bool isTextNode() const { return getFlag(IsTextFlag); } | 235 bool isTextNode() const { return getFlag(IsTextFlag); } |
| 233 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } | 236 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } |
| 234 bool isSVGElement() const { return getFlag(IsSVGFlag); } | 237 bool isSVGElement() const { return getFlag(IsSVGFlag); } |
| 235 | 238 |
| 236 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } | 239 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } |
| 237 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } | 240 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 } // namespace blink | 899 } // namespace blink |
| 897 | 900 |
| 898 #ifndef NDEBUG | 901 #ifndef NDEBUG |
| 899 // Outside the WebCore namespace for ease of invocation from gdb. | 902 // Outside the WebCore namespace for ease of invocation from gdb. |
| 900 void showNode(const blink::Node*); | 903 void showNode(const blink::Node*); |
| 901 void showTree(const blink::Node*); | 904 void showTree(const blink::Node*); |
| 902 void showNodePath(const blink::Node*); | 905 void showNodePath(const blink::Node*); |
| 903 #endif | 906 #endif |
| 904 | 907 |
| 905 #endif // Node_h | 908 #endif // Node_h |
| OLD | NEW |