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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 // dispatching, and is called _after_ the node is removed from the tree. | 564 // dispatching, and is called _after_ the node is removed from the tree. |
565 // | 565 // |
566 virtual void removedFrom(ContainerNode* insertionPoint); | 566 virtual void removedFrom(ContainerNode* insertionPoint); |
567 | 567 |
568 // FIXME(dominicc): This method is not debug-only--it is used by | 568 // FIXME(dominicc): This method is not debug-only--it is used by |
569 // Tracing--rename it to something indicative. | 569 // Tracing--rename it to something indicative. |
570 String debugName() const; | 570 String debugName() const; |
571 | 571 |
572 #ifndef NDEBUG | 572 #ifndef NDEBUG |
573 String toString() const; | 573 String toString() const; |
574 void showNode(const char* prefix = "") const; | |
575 String toTreeStringForThis() const; | 574 String toTreeStringForThis() const; |
576 String toFlatTreeStringForThis() const; | 575 String toFlatTreeStringForThis() const; |
577 void printNodePathTo(std::ostream&) const; | 576 void printNodePathTo(std::ostream&) const; |
578 String toMarkedTreeString(const Node* markedNode1, const char* markedLabel1,
const Node* markedNode2 = nullptr, const char* markedLabel2 = nullptr) const; | 577 String toMarkedTreeString(const Node* markedNode1, const char* markedLabel1,
const Node* markedNode2 = nullptr, const char* markedLabel2 = nullptr) const; |
579 String toMarkedFlatTreeString(const Node* markedNode1, const char* markedLab
el1, const Node* markedNode2 = nullptr, const char* markedLabel2 = nullptr) cons
t; | 578 String toMarkedFlatTreeString(const Node* markedNode1, const char* markedLab
el1, const Node* markedNode2 = nullptr, const char* markedLabel2 = nullptr) cons
t; |
580 void showTreeForThisAcrossFrame() const; | 579 void showTreeForThisAcrossFrame() const; |
581 #endif | 580 #endif |
582 | 581 |
583 NodeListsNodeData* nodeLists(); | 582 NodeListsNodeData* nodeLists(); |
584 void clearNodeLists(); | 583 void clearNodeLists(); |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 } // namespace blink | 885 } // namespace blink |
887 | 886 |
888 #ifndef NDEBUG | 887 #ifndef NDEBUG |
889 // Outside the WebCore namespace for ease of invocation from gdb. | 888 // Outside the WebCore namespace for ease of invocation from gdb. |
890 void showNode(const blink::Node*); | 889 void showNode(const blink::Node*); |
891 void showTree(const blink::Node*); | 890 void showTree(const blink::Node*); |
892 void showNodePath(const blink::Node*); | 891 void showNodePath(const blink::Node*); |
893 #endif | 892 #endif |
894 | 893 |
895 #endif // Node_h | 894 #endif // Node_h |
OLD | NEW |