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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 Element* parentOrShadowHostElement() const; | 309 Element* parentOrShadowHostElement() const; |
310 void setParentOrShadowHostNode(ContainerNode*); | 310 void setParentOrShadowHostNode(ContainerNode*); |
311 | 311 |
312 // Knows about all kinds of hosts. | 312 // Knows about all kinds of hosts. |
313 ContainerNode* parentOrShadowHostOrTemplateHostNode() const; | 313 ContainerNode* parentOrShadowHostOrTemplateHostNode() const; |
314 | 314 |
315 // Returns the parent node, but nullptr if the parent node is a ShadowRoot. | 315 // Returns the parent node, but nullptr if the parent node is a ShadowRoot. |
316 ContainerNode* nonShadowBoundaryParentNode() const; | 316 ContainerNode* nonShadowBoundaryParentNode() const; |
317 | 317 |
318 // Returns the enclosing event parent Element (or self) that, when clicked,
would trigger a navigation. | 318 // Returns the enclosing event parent Element (or self) that, when clicked,
would trigger a navigation. |
319 Element* enclosingLinkEventParentOrSelf(); | 319 Element* enclosingLinkEventParentOrSelf() const; |
320 | 320 |
321 // These low-level calls give the caller responsibility for maintaining the
integrity of the tree. | 321 // These low-level calls give the caller responsibility for maintaining the
integrity of the tree. |
322 void setPreviousSibling(Node* previous) { m_previous = previous; } | 322 void setPreviousSibling(Node* previous) { m_previous = previous; } |
323 void setNextSibling(Node* next) { m_next = next; } | 323 void setNextSibling(Node* next) { m_next = next; } |
324 | 324 |
325 virtual bool canContainRangeEndPoint() const { return false; } | 325 virtual bool canContainRangeEndPoint() const { return false; } |
326 | 326 |
327 // FIXME: These two functions belong in editing -- "atomic node" is an editi
ng concept. | 327 // FIXME: These two functions belong in editing -- "atomic node" is an editi
ng concept. |
328 Node* previousNodeConsideringAtomicNodes() const; | 328 Node* previousNodeConsideringAtomicNodes() const; |
329 Node* nextNodeConsideringAtomicNodes() const; | 329 Node* nextNodeConsideringAtomicNodes() const; |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 } // namespace blink | 917 } // namespace blink |
918 | 918 |
919 #ifndef NDEBUG | 919 #ifndef NDEBUG |
920 // Outside the WebCore namespace for ease of invocation from gdb. | 920 // Outside the WebCore namespace for ease of invocation from gdb. |
921 void showNode(const blink::Node*); | 921 void showNode(const blink::Node*); |
922 void showTree(const blink::Node*); | 922 void showTree(const blink::Node*); |
923 void showNodePath(const blink::Node*); | 923 void showNodePath(const blink::Node*); |
924 #endif | 924 #endif |
925 | 925 |
926 #endif // Node_h | 926 #endif // Node_h |
OLD | NEW |