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&) {} |
15 void SynchronousMutationObserver::didChangeChildren(const ContainerNode&) {} | 16 void SynchronousMutationObserver::didChangeChildren(const ContainerNode&) {} |
16 void SynchronousMutationObserver::didMergeTextNodes(const Text&, | 17 void SynchronousMutationObserver::didMergeTextNodes(const Text&, |
17 const NodeWithIndex&, | 18 const NodeWithIndex&, |
18 unsigned) {} | 19 unsigned) {} |
19 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {} | 20 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {} |
20 void SynchronousMutationObserver::didSplitTextNode(const Text&) {} | 21 void SynchronousMutationObserver::didSplitTextNode(const Text&) {} |
21 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*, | 22 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*, |
22 unsigned, | 23 unsigned, |
23 unsigned, | 24 unsigned, |
24 unsigned) {} | 25 unsigned) {} |
25 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {} | 26 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {} |
26 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {} | 27 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {} |
27 | 28 |
28 } // namespace blink | 29 } // namespace blink |
OLD | NEW |