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