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

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

Issue 415823002: Drop slower Node::hasTagName(QualifiedName) overload (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/Element.h ('k') | no next file » | 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 void* operator new(size_t); 164 void* operator new(size_t);
165 void operator delete(void*); 165 void operator delete(void*);
166 #endif 166 #endif
167 167
168 static void dumpStatistics(); 168 static void dumpStatistics();
169 169
170 virtual ~Node(); 170 virtual ~Node();
171 171
172 // DOM methods & attributes for Node 172 // DOM methods & attributes for Node
173 173
174 bool hasTagName(const QualifiedName&) const;
175 bool hasTagName(const HTMLQualifiedName&) const; 174 bool hasTagName(const HTMLQualifiedName&) const;
176 bool hasTagName(const SVGQualifiedName&) const; 175 bool hasTagName(const SVGQualifiedName&) const;
177 virtual String nodeName() const = 0; 176 virtual String nodeName() const = 0;
178 virtual String nodeValue() const; 177 virtual String nodeValue() const;
179 virtual void setNodeValue(const String&); 178 virtual void setNodeValue(const String&);
180 virtual NodeType nodeType() const = 0; 179 virtual NodeType nodeType() const = 0;
181 ContainerNode* parentNode() const; 180 ContainerNode* parentNode() const;
182 Element* parentElement() const; 181 Element* parentElement() const;
183 ContainerNode* parentElementOrShadowRoot() const; 182 ContainerNode* parentElementOrShadowRoot() const;
184 ContainerNode* parentElementOrDocumentFragment() const; 183 ContainerNode* parentElementOrDocumentFragment() const;
(...skipping 714 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/Element.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698