| Index: third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
|
| diff --git a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
|
| index b8005d1146eefec54c0844af5c2720373782bd27..c41f0386bbb4c2ef50623455f3ca60392cd13617 100644
|
| --- a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
|
| +++ b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
|
| @@ -14,24 +14,28 @@ namespace blink {
|
| class CharacterData;
|
| class ContainerNode;
|
| class Document;
|
| +class Element;
|
| class Node;
|
| +class NodeWithIndex;
|
| class SynchronousMutationObserver;
|
| class Text;
|
|
|
| class CORE_EXPORT SynchronousMutationNotifier
|
| : public LifecycleNotifier<Document, SynchronousMutationObserver> {
|
| public:
|
| - // TODO(yosin): We will have |notifyXXX()| functions defined in
|
| - // |SynchronousMutationObserver|.
|
| + void notifyChangeAttribute(const Element&);
|
| void notifyChangeChildren(const ContainerNode&);
|
| - void notifyMergeTextNodes(Text&, unsigned);
|
| + void notifyMergeTextNodes(const Text& mergedNode,
|
| + const NodeWithIndex& nodeToBeRemovedWithIndex,
|
| + unsigned oldLength);
|
| + void notifyMoveTreeToNewDocument();
|
| + void notifyNodeChildrenWillBeRemoved(ContainerNode&);
|
| + void notifyNodeWillBeRemoved(Node&);
|
| void notifySplitTextNode(const Text&);
|
| void notifyUpdateCharacterData(CharacterData*,
|
| unsigned offset,
|
| unsigned oldLength,
|
| unsigned newLength);
|
| - void notifyNodeChildrenWillBeRemoved(ContainerNode&);
|
| - void notifyNodeWillBeRemoved(Node&);
|
|
|
| protected:
|
| SynchronousMutationNotifier();
|
|
|