Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: Source/core/dom/Node.h

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear setName Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 virtual InsertionNotificationRequest insertedInto(ContainerNode* insertionPo int); 582 virtual InsertionNotificationRequest insertedInto(ContainerNode* insertionPo int);
583 virtual void didNotifySubtreeInsertions(ContainerNode*) { } 583 virtual void didNotifySubtreeInsertions(ContainerNode*) { }
584 584
585 // Notifies the node that it is no longer part of the tree. 585 // Notifies the node that it is no longer part of the tree.
586 // 586 //
587 // This is a dual of insertedInto(), and is similar to the DOMNodeRemovedFro mDocument DOM event, but does not require the overhead of event 587 // This is a dual of insertedInto(), and is similar to the DOMNodeRemovedFro mDocument DOM event, but does not require the overhead of event
588 // dispatching, and is called _after_ the node is removed from the tree. 588 // dispatching, and is called _after_ the node is removed from the tree.
589 // 589 //
590 virtual void removedFrom(ContainerNode* insertionPoint); 590 virtual void removedFrom(ContainerNode* insertionPoint);
591 591
592 #ifndef NDEBUG
593 String debugName() const; 592 String debugName() const;
594 593
594 #ifndef NDEBUG
595 virtual void formatForDebugger(char* buffer, unsigned length) const; 595 virtual void formatForDebugger(char* buffer, unsigned length) const;
596 596
597 void showNode(const char* prefix = "") const; 597 void showNode(const char* prefix = "") const;
598 void showTreeForThis() const; 598 void showTreeForThis() const;
599 void showNodePathForThis() const; 599 void showNodePathForThis() const;
600 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const; 600 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const;
601 void showTreeForThisAcrossFrame() const; 601 void showTreeForThisAcrossFrame() const;
602 #endif 602 #endif
603 603
604 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0); 604 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 930
931 } //namespace 931 } //namespace
932 932
933 #ifndef NDEBUG 933 #ifndef NDEBUG
934 // Outside the WebCore namespace for ease of invocation from gdb. 934 // Outside the WebCore namespace for ease of invocation from gdb.
935 void showTree(const WebCore::Node*); 935 void showTree(const WebCore::Node*);
936 void showNodePath(const WebCore::Node*); 936 void showNodePath(const WebCore::Node*);
937 #endif 937 #endif
938 938
939 #endif 939 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698