OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/dom/SynchronousMutationObserver.h" | 5 #include "core/dom/SynchronousMutationObserver.h" |
6 | 6 |
7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
8 #include "core/dom/SynchronousMutationNotifier.h" | 8 #include "core/dom/SynchronousMutationNotifier.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 SynchronousMutationObserver::SynchronousMutationObserver() | 12 SynchronousMutationObserver::SynchronousMutationObserver() |
13 : LifecycleObserver(nullptr) {} | 13 : LifecycleObserver(nullptr) {} |
14 | 14 |
15 void SynchronousMutationObserver::didChangeAttribute(const Element&) {} | |
16 void SynchronousMutationObserver::didChangeChildren(const ContainerNode&) {} | 15 void SynchronousMutationObserver::didChangeChildren(const ContainerNode&) {} |
17 void SynchronousMutationObserver::didMergeTextNodes(const Text&, | 16 void SynchronousMutationObserver::didMergeTextNodes(const Text&, |
18 const NodeWithIndex&, | 17 const NodeWithIndex&, |
19 unsigned) {} | 18 unsigned) {} |
20 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {} | 19 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {} |
21 void SynchronousMutationObserver::didSplitTextNode(const Text&) {} | 20 void SynchronousMutationObserver::didSplitTextNode(const Text&) {} |
22 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*, | 21 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*, |
23 unsigned, | 22 unsigned, |
24 unsigned, | 23 unsigned, |
25 unsigned) {} | 24 unsigned) {} |
26 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {} | 25 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {} |
27 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {} | 26 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {} |
28 | 27 |
29 } // namespace blink | 28 } // namespace blink |
OLD | NEW |