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

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

Issue 132923003: Make sure the rootNode of a LiveNodeListBase is always a ContainerNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/NameNodeList.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, 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 void showTreeForThis() const; 585 void showTreeForThis() const;
586 void showNodePathForThis() const; 586 void showNodePathForThis() const;
587 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const; 587 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const;
588 void showTreeForThisAcrossFrame() const; 588 void showTreeForThisAcrossFrame() const;
589 #endif 589 #endif
590 590
591 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0); 591 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0);
592 NodeListsNodeData* nodeLists(); 592 NodeListsNodeData* nodeLists();
593 void clearNodeLists(); 593 void clearNodeLists();
594 594
595 PassRefPtr<NodeList> getElementsByTagName(const AtomicString&);
596 PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI , const AtomicString& localName);
597 PassRefPtr<NodeList> getElementsByName(const AtomicString& elementName);
598 PassRefPtr<NodeList> getElementsByClassName(const AtomicString& classNames);
599 PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&, bool onlyMatchI mgElements = false);
600
601 virtual bool willRespondToMouseMoveEvents(); 595 virtual bool willRespondToMouseMoveEvents();
602 virtual bool willRespondToMouseClickEvents(); 596 virtual bool willRespondToMouseClickEvents();
603 virtual bool willRespondToTouchEvents(); 597 virtual bool willRespondToTouchEvents();
604 598
605 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionSt ate&); 599 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionSt ate&);
606 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onState&); 600 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onState&);
607 601
608 unsigned short compareDocumentPosition(const Node*) const; 602 unsigned short compareDocumentPosition(const Node*) const;
609 603
610 enum ShadowTreesTreatment { 604 enum ShadowTreesTreatment {
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 902
909 } // namespace WebCore 903 } // namespace WebCore
910 904
911 #ifndef NDEBUG 905 #ifndef NDEBUG
912 // Outside the WebCore namespace for ease of invocation from gdb. 906 // Outside the WebCore namespace for ease of invocation from gdb.
913 void showTree(const WebCore::Node*); 907 void showTree(const WebCore::Node*);
914 void showNodePath(const WebCore::Node*); 908 void showNodePath(const WebCore::Node*);
915 #endif 909 #endif
916 910
917 #endif 911 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/NameNodeList.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698