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

Side by Side Diff: third_party/WebKit/Source/core/editing/commands/UndoStep.cpp

Issue 2642653002: Remove pure-virtual interface UndoStep (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/UndoStep.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/editing/commands/UndoStep.h" 5 #include "core/editing/commands/UndoStep.h"
6 6
7 #include "core/editing/Editor.h" 7 #include "core/editing/Editor.h"
8 #include "core/editing/commands/EditCommand.h" 8 #include "core/editing/commands/EditCommand.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 m_endingRootEditableElement = selection.rootEditableElement(); 95 m_endingRootEditableElement = selection.rootEditableElement();
96 } 96 }
97 97
98 DEFINE_TRACE(EditCommandComposition) { 98 DEFINE_TRACE(EditCommandComposition) {
99 visitor->trace(m_document); 99 visitor->trace(m_document);
100 visitor->trace(m_startingSelection); 100 visitor->trace(m_startingSelection);
101 visitor->trace(m_endingSelection); 101 visitor->trace(m_endingSelection);
102 visitor->trace(m_commands); 102 visitor->trace(m_commands);
103 visitor->trace(m_startingRootEditableElement); 103 visitor->trace(m_startingRootEditableElement);
104 visitor->trace(m_endingRootEditableElement); 104 visitor->trace(m_endingRootEditableElement);
105 UndoStep::trace(visitor);
106 } 105 }
107 106
108 } // namespace blink 107 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/UndoStep.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698