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

Unified Diff: Source/core/dom/NonDocumentTypeChildNode.h

Issue 799523002: Split NonDocumentTypeChildNode from ChildNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/NonDocumentTypeChildNode.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NonDocumentTypeChildNode.h
diff --git a/Source/core/dom/ChildNode.h b/Source/core/dom/NonDocumentTypeChildNode.h
similarity index 72%
copy from Source/core/dom/ChildNode.h
copy to Source/core/dom/NonDocumentTypeChildNode.h
index 749e4be02c0cedf766a7261389ef1a7bd734a668..24ce87a7e5f886da12aac46ffe0243072f4eb7d1 100644
--- a/Source/core/dom/ChildNode.h
+++ b/Source/core/dom/NonDocumentTypeChildNode.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ChildNode_h
-#define ChildNode_h
+#ifndef NonDocumentTypeChildNode_h
+#define NonDocumentTypeChildNode_h
#include "core/dom/ElementTraversal.h"
#include "core/dom/Node.h"
namespace blink {
-class ChildNode {
+class NonDocumentTypeChildNode {
public:
static Element* previousElementSibling(Node& node)
{
@@ -21,13 +21,8 @@ public:
{
return ElementTraversal::nextSibling(node);
}
-
- static void remove(Node& node, ExceptionState& exceptionState)
- {
- return node.remove(exceptionState);
- }
};
} // namespace blink
-#endif // ChildNode_h
+#endif // NonDocumentTypeChildNode_h
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/NonDocumentTypeChildNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698