#include "third_party/blink/renderer/core/editing/commands/undo_step.h"
#include "third_party/blink/renderer/core/dom/events/scoped_event_queue.h"
#include "third_party/blink/renderer/core/editing/commands/edit_command.h"
#include "third_party/blink/renderer/core/editing/commands/editing_commands_utilities.h"
#include "third_party/blink/renderer/core/editing/commands/undo_stack.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/editor.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/set_selection_options.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
namespace blink {
namespace {
uint64_t g_current_sequence_number = …;
}
UndoStep::UndoStep(Document* document,
const SelectionForUndoStep& starting_selection,
const SelectionForUndoStep& ending_selection)
: … { … }
bool UndoStep::IsOwnedBy(const Element& element) const { … }
void UndoStep::Unapply() { … }
void UndoStep::Reapply() { … }
void UndoStep::Append(SimpleEditCommand* command) { … }
void UndoStep::Append(UndoStep* undo_step) { … }
void UndoStep::SetStartingSelection(const SelectionForUndoStep& selection) { … }
void UndoStep::SetEndingSelection(const SelectionForUndoStep& selection) { … }
void UndoStep::Trace(Visitor* visitor) const { … }
}