Index: Source/core/dom/ContainerNode.h |
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h |
index 117d1b95e0498edaea7a8f0d31bf6776ae5e5b13..52c67e84f844d49852c644fde1c122b7ffef64bf 100644 |
--- a/Source/core/dom/ContainerNode.h |
+++ b/Source/core/dom/ContainerNode.h |
@@ -54,6 +54,11 @@ enum DynamicRestyleFlags { |
NumberOfDynamicRestyleFlags = 10, |
}; |
+enum SubtreeModificationAction { |
+ DispatchSubtreeModifiedEvent, |
+ OmitSubtreeModifiedEvent |
+}; |
+ |
// This constant controls how much buffer is initially allocated |
// for a Node Vector that is used to store child Nodes of a given Node. |
// FIXME: Optimize the value. |
@@ -98,7 +103,7 @@ public: |
void parserInsertBefore(PassRefPtrWillBeRawPtr<Node> newChild, Node& refChild); |
void parserTakeAllChildrenFrom(ContainerNode&); |
- void removeChildren(); |
+ void removeChildren(SubtreeModificationAction = DispatchSubtreeModifiedEvent); |
void cloneChildNodes(ContainerNode* clone); |