| 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 bool isDocumentNode() const; | 264 bool isDocumentNode() const; |
| 265 bool isTreeScope() const { return treeScope()->rootNode() == this; } | 265 bool isTreeScope() const { return treeScope()->rootNode() == this; } |
| 266 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } | 266 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } |
| 267 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } | 267 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } |
| 268 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } | 268 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } |
| 269 | 269 |
| 270 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); } | 270 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); } |
| 271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback
sFlag); } | 271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback
sFlag); } |
| 272 | 272 |
| 273 bool isRegisteredWithNamedFlow() const; |
| 274 |
| 273 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi
ldNodesFlag); } | 275 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi
ldNodesFlag); } |
| 274 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt
trChildNodesFlag); } | 276 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt
trChildNodesFlag); } |
| 275 | 277 |
| 276 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns 0. | 278 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns 0. |
| 277 Element* shadowHost() const; | 279 Element* shadowHost() const; |
| 278 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns this. | 280 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns this. |
| 279 // Deprecated. Should use shadowHost() and check the return value. | 281 // Deprecated. Should use shadowHost() and check the return value. |
| 280 Node* deprecatedShadowAncestorNode() const; | 282 Node* deprecatedShadowAncestorNode() const; |
| 281 ShadowRoot* containingShadowRoot() const; | 283 ShadowRoot* containingShadowRoot() const; |
| 282 ShadowRoot* youngestShadowRoot() const; | 284 ShadowRoot* youngestShadowRoot() const; |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 | 933 |
| 932 } //namespace | 934 } //namespace |
| 933 | 935 |
| 934 #ifndef NDEBUG | 936 #ifndef NDEBUG |
| 935 // Outside the WebCore namespace for ease of invocation from gdb. | 937 // Outside the WebCore namespace for ease of invocation from gdb. |
| 936 void showTree(const WebCore::Node*); | 938 void showTree(const WebCore::Node*); |
| 937 void showNodePath(const WebCore::Node*); | 939 void showNodePath(const WebCore::Node*); |
| 938 #endif | 940 #endif |
| 939 | 941 |
| 940 #endif | 942 #endif |
| OLD | NEW |