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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 bool isElementNode() const { return getFlag(IsElementFlag); } | 231 bool isElementNode() const { return getFlag(IsElementFlag); } |
232 bool isContainerNode() const { return getFlag(IsContainerFlag); } | 232 bool isContainerNode() const { return getFlag(IsContainerFlag); } |
233 bool isTextNode() const { return getFlag(IsTextFlag); } | 233 bool isTextNode() const { return getFlag(IsTextFlag); } |
234 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } | 234 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } |
235 bool isSVGElement() const { return getFlag(IsSVGFlag); } | 235 bool isSVGElement() const { return getFlag(IsSVGFlag); } |
236 | 236 |
237 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } | 237 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } |
238 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } | 238 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } |
239 bool isAfterPseudoElement() const { return pseudoId() == AFTER; } | 239 bool isAfterPseudoElement() const { return pseudoId() == AFTER; } |
| 240 bool isMarkerPseudoElement() const { return pseudoId() == MARKER; } |
240 bool isFirstLetterPseudoElement() const { return pseudoId() == FIRST_LETTER;
} | 241 bool isFirstLetterPseudoElement() const { return pseudoId() == FIRST_LETTER;
} |
241 virtual PseudoId pseudoId() const { return NOPSEUDO; } | 242 virtual PseudoId pseudoId() const { return NOPSEUDO; } |
242 | 243 |
243 bool isCustomElement() const { return getFlag(CustomElementFlag); } | 244 bool isCustomElement() const { return getFlag(CustomElementFlag); } |
244 enum CustomElementState { | 245 enum CustomElementState { |
245 NotCustomElement = 0, | 246 NotCustomElement = 0, |
246 WaitingForUpgrade = 1 << 0, | 247 WaitingForUpgrade = 1 << 0, |
247 Upgraded = 1 << 1 | 248 Upgraded = 1 << 1 |
248 }; | 249 }; |
249 CustomElementState customElementState() const | 250 CustomElementState customElementState() const |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 } // namespace blink | 900 } // namespace blink |
900 | 901 |
901 #ifndef NDEBUG | 902 #ifndef NDEBUG |
902 // Outside the WebCore namespace for ease of invocation from gdb. | 903 // Outside the WebCore namespace for ease of invocation from gdb. |
903 void showNode(const blink::Node*); | 904 void showNode(const blink::Node*); |
904 void showTree(const blink::Node*); | 905 void showTree(const blink::Node*); |
905 void showNodePath(const blink::Node*); | 906 void showNodePath(const blink::Node*); |
906 #endif | 907 #endif |
907 | 908 |
908 #endif // Node_h | 909 #endif // Node_h |
OLD | NEW |