#include "third_party/blink/renderer/core/editing/spellcheck/hot_mode_spell_check_requester.h"
#include "third_party/blink/renderer/core/editing/commands/composite_edit_command.h"
#include "third_party/blink/renderer/core/editing/commands/typing_command.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/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/iterators/backwards_character_iterator.h"
#include "third_party/blink/renderer/core/editing/iterators/character_iterator.h"
#include "third_party/blink/renderer/core/editing/markers/document_marker_controller.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/spellcheck/spell_check_requester.h"
#include "third_party/blink/renderer/core/editing/spellcheck/spell_checker.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
namespace blink {
namespace {
const int kHotModeCheckAllThreshold = …;
const int kHotModeChunkSize = …;
EphemeralRange AdjacentWordIfExists(const Position& pos) { … }
EphemeralRange CurrentWordIfTypingInPartialWord(const Element& editable) { … }
EphemeralRange CalculateHotModeCheckingRange(const Element& editable,
const Position& position) { … }
}
HotModeSpellCheckRequester::HotModeSpellCheckRequester(
SpellCheckRequester& requester)
: … { … }
void HotModeSpellCheckRequester::CheckSpellingAt(const Position& position) { … }
}