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

Powered by Google App Engine
This is Rietveld 408576698