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

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

Issue 10695128: Merge 120979 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 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
« no previous file with comments | « Source/WebCore/dom/NameNodeList.cpp ('k') | Source/WebCore/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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class EventListener; 62 class EventListener;
63 class FloatPoint; 63 class FloatPoint;
64 class Frame; 64 class Frame;
65 class HTMLInputElement; 65 class HTMLInputElement;
66 class IntRect; 66 class IntRect;
67 class KeyboardEvent; 67 class KeyboardEvent;
68 class NSResolver; 68 class NSResolver;
69 class NamedNodeMap; 69 class NamedNodeMap;
70 class NameNodeList; 70 class NameNodeList;
71 class NodeList; 71 class NodeList;
72 class NodeListsNodeData;
72 class NodeRareData; 73 class NodeRareData;
73 class NodeRenderingContext; 74 class NodeRenderingContext;
74 class PlatformKeyboardEvent; 75 class PlatformKeyboardEvent;
75 class PlatformMouseEvent; 76 class PlatformMouseEvent;
76 class PlatformWheelEvent; 77 class PlatformWheelEvent;
77 class QualifiedName; 78 class QualifiedName;
78 class RadioNodeList; 79 class RadioNodeList;
79 class RegisteredEventListener; 80 class RegisteredEventListener;
80 class RenderArena; 81 class RenderArena;
81 class RenderBox; 82 class RenderBox;
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 552
552 void showNode(const char* prefix = "") const; 553 void showNode(const char* prefix = "") const;
553 void showTreeForThis() const; 554 void showTreeForThis() const;
554 void showNodePathForThis() const; 555 void showNodePathForThis() const;
555 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const; 556 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const;
556 void showTreeForThisAcrossFrame() const; 557 void showTreeForThisAcrossFrame() const;
557 #endif 558 #endif
558 559
559 void invalidateNodeListsCacheAfterAttributeChanged(const QualifiedName&, Ele ment* attributeOwnerElement); 560 void invalidateNodeListsCacheAfterAttributeChanged(const QualifiedName&, Ele ment* attributeOwnerElement);
560 void invalidateNodeListsCacheAfterChildrenChanged(); 561 void invalidateNodeListsCacheAfterChildrenChanged();
561 void removeCachedClassNodeList(ClassNodeList*, const String&); 562 NodeListsNodeData* nodeLists();
562
563 void removeCachedNameNodeList(NameNodeList*, const String&);
564 void removeCachedTagNodeList(TagNodeList*, const AtomicString&);
565 void removeCachedTagNodeList(TagNodeList*, const QualifiedName&);
566 void removeCachedLabelsNodeList(DynamicSubtreeNodeList*);
567
568 void removeCachedChildNodeList(); 563 void removeCachedChildNodeList();
569 564
570 PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&);
571 void removeCachedRadioNodeList(RadioNodeList*, const AtomicString&);
572 void resetCachedRadioNodeListRootNode();
573
574 PassRefPtr<NodeList> getElementsByTagName(const AtomicString&); 565 PassRefPtr<NodeList> getElementsByTagName(const AtomicString&);
575 PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI , const AtomicString& localName); 566 PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI , const AtomicString& localName);
576 PassRefPtr<NodeList> getElementsByName(const String& elementName); 567 PassRefPtr<NodeList> getElementsByName(const String& elementName);
577 PassRefPtr<NodeList> getElementsByClassName(const String& classNames); 568 PassRefPtr<NodeList> getElementsByClassName(const String& classNames);
569 PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&);
578 570
579 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionCo de&); 571 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionCo de&);
580 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onCode&); 572 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onCode&);
581 573
582 unsigned short compareDocumentPosition(Node*); 574 unsigned short compareDocumentPosition(Node*);
583 575
584 virtual Node* toNode(); 576 virtual Node* toNode();
585 virtual HTMLInputElement* toInputElement(); 577 virtual HTMLInputElement* toInputElement();
586 578
587 virtual const AtomicString& interfaceName() const; 579 virtual const AtomicString& interfaceName() const;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 860
869 } //namespace 861 } //namespace
870 862
871 #ifndef NDEBUG 863 #ifndef NDEBUG
872 // Outside the WebCore namespace for ease of invocation from gdb. 864 // Outside the WebCore namespace for ease of invocation from gdb.
873 void showTree(const WebCore::Node*); 865 void showTree(const WebCore::Node*);
874 void showNodePath(const WebCore::Node*); 866 void showNodePath(const WebCore::Node*);
875 #endif 867 #endif
876 868
877 #endif 869 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/NameNodeList.cpp ('k') | Source/WebCore/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698