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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 class ClassNodeList; | 50 class ClassNodeList; |
51 class ContainerNode; | 51 class ContainerNode; |
52 class DOMSettableTokenList; | 52 class DOMSettableTokenList; |
53 class Document; | 53 class Document; |
54 class Element; | 54 class Element; |
55 class Event; | 55 class Event; |
56 class EventContext; | 56 class EventContext; |
57 class EventDispatchMediator; | 57 class EventDispatchMediator; |
58 class EventListener; | 58 class EventListener; |
59 class FloatPoint; | 59 class FloatPoint; |
| 60 class FlowThreadController; |
60 class Frame; | 61 class Frame; |
61 class HTMLInputElement; | 62 class HTMLInputElement; |
62 class IntRect; | 63 class IntRect; |
63 class KeyboardEvent; | 64 class KeyboardEvent; |
64 class NSResolver; | 65 class NSResolver; |
65 class NamedNodeMap; | 66 class NamedNodeMap; |
66 class NameNodeList; | 67 class NameNodeList; |
67 class NodeList; | 68 class NodeList; |
68 class NodeListsNodeData; | 69 class NodeListsNodeData; |
69 class NodeRareData; | 70 class NodeRareData; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 264 |
264 bool isDocumentNode() const; | 265 bool isDocumentNode() const; |
265 bool isTreeScope() const { return treeScope()->rootNode() == this; } | 266 bool isTreeScope() const { return treeScope()->rootNode() == this; } |
266 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } | 267 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } |
267 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } | 268 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } |
268 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } | 269 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } |
269 | 270 |
270 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); } | 271 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); } |
271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback
sFlag); } | 272 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback
sFlag); } |
272 | 273 |
| 274 bool isRegisteredWithNamedFlow(const FlowThreadController*) const; |
| 275 |
273 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi
ldNodesFlag); } | 276 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi
ldNodesFlag); } |
274 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt
trChildNodesFlag); } | 277 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt
trChildNodesFlag); } |
275 | 278 |
276 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns 0. | 279 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns 0. |
277 Element* shadowHost() const; | 280 Element* shadowHost() const; |
278 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret
urns this. | 281 // 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. | 282 // Deprecated. Should use shadowHost() and check the return value. |
280 Node* deprecatedShadowAncestorNode() const; | 283 Node* deprecatedShadowAncestorNode() const; |
281 ShadowRoot* containingShadowRoot() const; | 284 ShadowRoot* containingShadowRoot() const; |
282 ShadowRoot* youngestShadowRoot() const; | 285 ShadowRoot* youngestShadowRoot() const; |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 | 934 |
932 } //namespace | 935 } //namespace |
933 | 936 |
934 #ifndef NDEBUG | 937 #ifndef NDEBUG |
935 // Outside the WebCore namespace for ease of invocation from gdb. | 938 // Outside the WebCore namespace for ease of invocation from gdb. |
936 void showTree(const WebCore::Node*); | 939 void showTree(const WebCore::Node*); |
937 void showNodePath(const WebCore::Node*); | 940 void showNodePath(const WebCore::Node*); |
938 #endif | 941 #endif |
939 | 942 |
940 #endif | 943 #endif |
OLD | NEW |