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 215 matching lines...) Loading... |
226 | 226 |
227 bool isElementNode() const { return getFlag(IsElementFlag); } | 227 bool isElementNode() const { return getFlag(IsElementFlag); } |
228 bool isContainerNode() const { return getFlag(IsContainerFlag); } | 228 bool isContainerNode() const { return getFlag(IsContainerFlag); } |
229 bool isTextNode() const { return getFlag(IsTextFlag); } | 229 bool isTextNode() const { return getFlag(IsTextFlag); } |
230 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } | 230 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } |
231 bool isSVGElement() const { return getFlag(IsSVGFlag); } | 231 bool isSVGElement() const { return getFlag(IsSVGFlag); } |
232 | 232 |
233 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } | 233 bool isPseudoElement() const { return pseudoId() != NOPSEUDO; } |
234 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } | 234 bool isBeforePseudoElement() const { return pseudoId() == BEFORE; } |
235 bool isAfterPseudoElement() const { return pseudoId() == AFTER; } | 235 bool isAfterPseudoElement() const { return pseudoId() == AFTER; } |
| 236 bool isFirstLetterPseudoElement() const { return pseudoId() == FIRST_LETTER;
} |
236 virtual PseudoId pseudoId() const { return NOPSEUDO; } | 237 virtual PseudoId pseudoId() const { return NOPSEUDO; } |
237 | 238 |
238 bool isCustomElement() const { return getFlag(CustomElementFlag); } | 239 bool isCustomElement() const { return getFlag(CustomElementFlag); } |
239 enum CustomElementState { | 240 enum CustomElementState { |
240 NotCustomElement = 0, | 241 NotCustomElement = 0, |
241 WaitingForUpgrade = 1 << 0, | 242 WaitingForUpgrade = 1 << 0, |
242 Upgraded = 1 << 1 | 243 Upgraded = 1 << 1 |
243 }; | 244 }; |
244 CustomElementState customElementState() const | 245 CustomElementState customElementState() const |
245 { | 246 { |
(...skipping 641 matching lines...) Loading... |
887 } // namespace blink | 888 } // namespace blink |
888 | 889 |
889 #ifndef NDEBUG | 890 #ifndef NDEBUG |
890 // Outside the WebCore namespace for ease of invocation from gdb. | 891 // Outside the WebCore namespace for ease of invocation from gdb. |
891 void showNode(const blink::Node*); | 892 void showNode(const blink::Node*); |
892 void showTree(const blink::Node*); | 893 void showTree(const blink::Node*); |
893 void showNodePath(const blink::Node*); | 894 void showNodePath(const blink::Node*); |
894 #endif | 895 #endif |
895 | 896 |
896 #endif // Node_h | 897 #endif // Node_h |
OLD | NEW |