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

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

Issue 168673002: Drop [LegacyImplementedInBaseClass] from ChildNode IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/ChildNode.idl ('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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 virtual void setNodeValue(const String&); 171 virtual void setNodeValue(const String&);
172 virtual NodeType nodeType() const = 0; 172 virtual NodeType nodeType() const = 0;
173 ContainerNode* parentNode() const; 173 ContainerNode* parentNode() const;
174 Element* parentElement() const; 174 Element* parentElement() const;
175 Node* previousSibling() const { return m_previous; } 175 Node* previousSibling() const { return m_previous; }
176 Node* nextSibling() const { return m_next; } 176 Node* nextSibling() const { return m_next; }
177 PassRefPtr<NodeList> childNodes(); 177 PassRefPtr<NodeList> childNodes();
178 Node* firstChild() const; 178 Node* firstChild() const;
179 Node* lastChild() const; 179 Node* lastChild() const;
180 180
181 // ChildNode interface API
182 Element* previousElementSibling() const;
183 Element* nextElementSibling() const;
184 void remove(ExceptionState&); 181 void remove(ExceptionState&);
185 182
186 Node* pseudoAwareNextSibling() const; 183 Node* pseudoAwareNextSibling() const;
187 Node* pseudoAwarePreviousSibling() const; 184 Node* pseudoAwarePreviousSibling() const;
188 Node* pseudoAwareFirstChild() const; 185 Node* pseudoAwareFirstChild() const;
189 Node* pseudoAwareLastChild() const; 186 Node* pseudoAwareLastChild() const;
190 187
191 virtual KURL baseURI() const; 188 virtual KURL baseURI() const;
192 189
193 // These should all actually return a node, but this is only important for l anguage bindings, 190 // These should all actually return a node, but this is only important for l anguage bindings,
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 910
914 } // namespace WebCore 911 } // namespace WebCore
915 912
916 #ifndef NDEBUG 913 #ifndef NDEBUG
917 // Outside the WebCore namespace for ease of invocation from gdb. 914 // Outside the WebCore namespace for ease of invocation from gdb.
918 void showTree(const WebCore::Node*); 915 void showTree(const WebCore::Node*);
919 void showNodePath(const WebCore::Node*); 916 void showNodePath(const WebCore::Node*);
920 #endif 917 #endif
921 918
922 #endif 919 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ChildNode.idl ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698