| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 bool supportsAltText(); | 244 bool supportsAltText(); |
| 245 | 245 |
| 246 // Other methods (not part of DOM) | 246 // Other methods (not part of DOM) |
| 247 | 247 |
| 248 bool isElementNode() const { return getFlag(IsElementFlag); } | 248 bool isElementNode() const { return getFlag(IsElementFlag); } |
| 249 bool isContainerNode() const { return getFlag(IsContainerFlag); } | 249 bool isContainerNode() const { return getFlag(IsContainerFlag); } |
| 250 bool isTextNode() const { return getFlag(IsTextFlag); } | 250 bool isTextNode() const { return getFlag(IsTextFlag); } |
| 251 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } | 251 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } |
| 252 bool isSVGElement() const { return getFlag(IsSVGFlag); } | 252 bool isSVGElement() const { return getFlag(IsSVGFlag); } |
| 253 | 253 |
| 254 bool isPseudoElement() const { return getPseudoId() != PseudoIdNone; } | 254 DISABLE_CFI_PERF bool isPseudoElement() const { return getPseudoId() != Pseu
doIdNone; } |
| 255 bool isBeforePseudoElement() const { return getPseudoId() == PseudoIdBefore;
} | 255 DISABLE_CFI_PERF bool isBeforePseudoElement() const { return getPseudoId() =
= PseudoIdBefore; } |
| 256 bool isAfterPseudoElement() const { return getPseudoId() == PseudoIdAfter; } | 256 DISABLE_CFI_PERF bool isAfterPseudoElement() const { return getPseudoId() ==
PseudoIdAfter; } |
| 257 bool isFirstLetterPseudoElement() const { return getPseudoId() == PseudoIdFi
rstLetter; } | 257 DISABLE_CFI_PERF bool isFirstLetterPseudoElement() const { return getPseudoI
d() == PseudoIdFirstLetter; } |
| 258 virtual PseudoId getPseudoId() const { return PseudoIdNone; } | 258 virtual PseudoId getPseudoId() const { return PseudoIdNone; } |
| 259 | 259 |
| 260 CustomElementState getCustomElementState() const { return static_cast<Custom
ElementState>(m_nodeFlags & CustomElementStateMask); } | 260 CustomElementState getCustomElementState() const { return static_cast<Custom
ElementState>(m_nodeFlags & CustomElementStateMask); } |
| 261 void setCustomElementState(CustomElementState); | 261 void setCustomElementState(CustomElementState); |
| 262 bool isV0CustomElement() const { return getFlag(V0CustomElementFlag); } | 262 bool isV0CustomElement() const { return getFlag(V0CustomElementFlag); } |
| 263 enum V0CustomElementState { | 263 enum V0CustomElementState { |
| 264 V0NotCustomElement = 0, | 264 V0NotCustomElement = 0, |
| 265 V0WaitingForUpgrade = 1 << 0, | 265 V0WaitingForUpgrade = 1 << 0, |
| 266 V0Upgraded = 1 << 1 | 266 V0Upgraded = 1 << 1 |
| 267 }; | 267 }; |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 } // namespace blink | 884 } // namespace blink |
| 885 | 885 |
| 886 #ifndef NDEBUG | 886 #ifndef NDEBUG |
| 887 // Outside the WebCore namespace for ease of invocation from gdb. | 887 // Outside the WebCore namespace for ease of invocation from gdb. |
| 888 void showNode(const blink::Node*); | 888 void showNode(const blink::Node*); |
| 889 void showTree(const blink::Node*); | 889 void showTree(const blink::Node*); |
| 890 void showNodePath(const blink::Node*); | 890 void showNodePath(const blink::Node*); |
| 891 #endif | 891 #endif |
| 892 | 892 |
| 893 #endif // Node_h | 893 #endif // Node_h |
| OLD | NEW |