chromium/third_party/blink/renderer/core/editing/commands/selection_for_undo_step.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/editing/commands/selection_for_undo_step.h"

#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/text_affinity.h"
#include "third_party/blink/renderer/core/editing/visible_selection.h"

namespace blink {

SelectionForUndoStep SelectionForUndoStep::From(
    const SelectionInDOMTree& selection) {}

SelectionForUndoStep::SelectionForUndoStep(const SelectionForUndoStep& other) =
    default;

SelectionForUndoStep::SelectionForUndoStep() = default;

SelectionForUndoStep& SelectionForUndoStep::operator=(
    const SelectionForUndoStep& other) = default;

bool SelectionForUndoStep::operator==(const SelectionForUndoStep& other) const {}

bool SelectionForUndoStep::operator!=(const SelectionForUndoStep& other) const {}

SelectionInDOMTree SelectionForUndoStep::AsSelection() const {}

Position SelectionForUndoStep::Start() const {}

Position SelectionForUndoStep::End() const {}

bool SelectionForUndoStep::IsCaret() const {}

bool SelectionForUndoStep::IsNone() const {}

bool SelectionForUndoStep::IsRange() const {}

bool SelectionForUndoStep::IsValidFor(const Document& document) const {}

void SelectionForUndoStep::Trace(Visitor* visitor) const {}

// ---
SelectionForUndoStep::Builder::Builder() = default;

SelectionForUndoStep::Builder&
SelectionForUndoStep::Builder::SetAnchorAndFocusAsBackwardSelection(
    const Position& anchor,
    const Position& focus) {}

SelectionForUndoStep::Builder&
SelectionForUndoStep::Builder::SetAnchorAndFocusAsForwardSelection(
    const Position& anchor,
    const Position& focus) {}

void SelectionForUndoStep::Builder::Trace(Visitor* visitor) const {}

// ---
VisibleSelection CreateVisibleSelection(
    const SelectionForUndoStep& selection_in_undo_step) {}

}  // namespace blink