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

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

Issue 413763004: Get rid of unnecessary isChildNodeList() virtual call in clearChildNodeListCache() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Second proposal Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 #ifndef NDEBUG 586 #ifndef NDEBUG
587 virtual void formatForDebugger(char* buffer, unsigned length) const; 587 virtual void formatForDebugger(char* buffer, unsigned length) const;
588 588
589 void showNode(const char* prefix = "") const; 589 void showNode(const char* prefix = "") const;
590 void showTreeForThis() const; 590 void showTreeForThis() const;
591 void showNodePathForThis() const; 591 void showNodePathForThis() const;
592 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const; 592 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const;
593 void showTreeForThisAcrossFrame() const; 593 void showTreeForThisAcrossFrame() const;
594 #endif 594 #endif
595 595
596 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0);
597 NodeListsNodeData* nodeLists(); 596 NodeListsNodeData* nodeLists();
598 void clearNodeLists(); 597 void clearNodeLists();
599 598
600 virtual bool willRespondToMouseMoveEvents(); 599 virtual bool willRespondToMouseMoveEvents();
601 virtual bool willRespondToMouseClickEvents(); 600 virtual bool willRespondToMouseClickEvents();
602 virtual bool willRespondToTouchEvents(); 601 virtual bool willRespondToTouchEvents();
603 602
604 enum ShadowTreesTreatment { 603 enum ShadowTreesTreatment {
605 TreatShadowTreesAsDisconnected, 604 TreatShadowTreesAsDisconnected,
606 TreatShadowTreesAsComposed 605 TreatShadowTreesAsComposed
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 } // namespace blink 898 } // namespace blink
900 899
901 #ifndef NDEBUG 900 #ifndef NDEBUG
902 // Outside the WebCore namespace for ease of invocation from gdb. 901 // Outside the WebCore namespace for ease of invocation from gdb.
903 void showNode(const blink::Node*); 902 void showNode(const blink::Node*);
904 void showTree(const blink::Node*); 903 void showTree(const blink::Node*);
905 void showNodePath(const blink::Node*); 904 void showNodePath(const blink::Node*);
906 #endif 905 #endif
907 906
908 #endif 907 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698