#include "third_party/blink/renderer/core/editing/ime/cached_text_input_info.h"
#include "build/chromeos_buildflags.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/iterators/text_iterator.h"
#include "third_party/blink/renderer/core/html/forms/text_control_element.h"
#include "third_party/blink/renderer/core/layout/inline/inline_node.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
namespace {
EphemeralRange ComputeWholeContentRange(const ContainerNode& container) { … }
LayoutObject* FindLayoutObject(const ContainerNode& container) { … }
}
TextIteratorBehavior CachedTextInputInfo::Behavior() { … }
void CachedTextInputInfo::Clear() const { … }
void CachedTextInputInfo::ClearIfNeeded(const LayoutObject& layout_object) { … }
void CachedTextInputInfo::DidChangeVisibility(
const LayoutObject& layout_object) { … }
void CachedTextInputInfo::DidLayoutSubtree(const LayoutObject& layout_object) { … }
void CachedTextInputInfo::DidUpdateLayout(const LayoutObject& layout_object) { … }
void CachedTextInputInfo::EnsureCached(const ContainerNode& container) const { … }
PlainTextRange CachedTextInputInfo::GetComposition(
const EphemeralRange& range) const { … }
PlainTextRange CachedTextInputInfo::GetPlainTextRangeWithCache(
const EphemeralRange& range,
CachedPlainTextRange* text_range) const { … }
PlainTextRange CachedTextInputInfo::GetPlainTextRange(
const EphemeralRange& range) const { … }
PlainTextRange CachedTextInputInfo::GetSelection(
const EphemeralRange& range) const { … }
String CachedTextInputInfo::GetText() const { … }
bool CachedTextInputInfo::IsValidFor(const ContainerNode& container) const { … }
void CachedTextInputInfo::LayoutObjectWillBeDestroyed(
const LayoutObject& layout_object) { … }
unsigned CachedTextInputInfo::RangeLength(const EphemeralRange& range) const { … }
void CachedTextInputInfo::Trace(Visitor* visitor) const { … }
void CachedTextInputInfo::CachedPlainTextRange::Clear() { … }
PlainTextRange CachedTextInputInfo::CachedPlainTextRange::Get() const { … }
bool CachedTextInputInfo::CachedPlainTextRange::IsValidFor(
const EphemeralRange& range) const { … }
void CachedTextInputInfo::CachedPlainTextRange::Set(
const EphemeralRange& range,
const PlainTextRange& text_range) { … }
void CachedTextInputInfo::CachedPlainTextRange::Trace(Visitor* visitor) const { … }
}