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

Side by Side Diff: third_party/WebKit/Source/core/dom/SynchronousMutationObserver.cpp

Issue 2644063002: Make SynchronousMutationObserver::didMergeTextNodes() to take both merged and merging nodes (Closed)
Patch Set: 2017-01-19T17:22:18 Created 3 years, 11 months 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 unified diff | Download patch
OLDNEW
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::didChangeChildren(const ContainerNode&) {} 15 void SynchronousMutationObserver::didChangeChildren(const ContainerNode&) {}
16 void SynchronousMutationObserver::didMergeTextNodes(Text&, unsigned) {} 16 void SynchronousMutationObserver::didMergeTextNodes(const Text&,
17 const NodeWithIndex&,
18 unsigned) {}
17 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {} 19 void SynchronousMutationObserver::didMoveTreeToNewDocument(const Node&) {}
18 void SynchronousMutationObserver::didSplitTextNode(const Text&) {} 20 void SynchronousMutationObserver::didSplitTextNode(const Text&) {}
19 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*, 21 void SynchronousMutationObserver::didUpdateCharacterData(CharacterData*,
20 unsigned, 22 unsigned,
21 unsigned, 23 unsigned,
22 unsigned) {} 24 unsigned) {}
23 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {} 25 void SynchronousMutationObserver::nodeChildrenWillBeRemoved(ContainerNode&) {}
24 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {} 26 void SynchronousMutationObserver::nodeWillBeRemoved(Node&) {}
25 27
26 } // namespace blink 28 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698