#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/editing/text_affinity.h"
namespace blink {
template <typename Strategy>
PositionWithAffinityTemplate<Strategy>::PositionWithAffinityTemplate(
const PositionTemplate<Strategy>& position,
TextAffinity affinity)
: … { … }
template <typename Strategy>
PositionWithAffinityTemplate<Strategy>::PositionWithAffinityTemplate()
: … { … }
template <typename Strategy>
PositionWithAffinityTemplate<Strategy>::PositionWithAffinityTemplate(
const PositionTemplate<Strategy>& position)
: … { … }
template <typename Strategy>
PositionWithAffinityTemplate<Strategy>::~PositionWithAffinityTemplate() =
default;
template <typename Strategy>
void PositionWithAffinityTemplate<Strategy>::Trace(Visitor* visitor) const { … }
template <typename Strategy>
bool PositionWithAffinityTemplate<Strategy>::operator==(
const PositionWithAffinityTemplate& other) const { … }
PositionWithAffinity ToPositionInDOMTreeWithAffinity(
const PositionWithAffinity& position) { … }
PositionWithAffinity ToPositionInDOMTreeWithAffinity(
const PositionInFlatTreeWithAffinity& position) { … }
PositionInFlatTreeWithAffinity ToPositionInFlatTreeWithAffinity(
const PositionWithAffinity& position) { … }
PositionInFlatTreeWithAffinity ToPositionInFlatTreeWithAffinity(
const PositionInFlatTreeWithAffinity& position) { … }
template class CORE_TEMPLATE_EXPORT
PositionWithAffinityTemplate<EditingStrategy>;
template class CORE_TEMPLATE_EXPORT
PositionWithAffinityTemplate<EditingInFlatTreeStrategy>;
std::ostream& operator<<(std::ostream& ostream,
const PositionWithAffinity& position_with_affinity) { … }
std::ostream& operator<<(
std::ostream& ostream,
const PositionInFlatTreeWithAffinity& position_with_affinity) { … }
}