chromium/third_party/blink/renderer/core/editing/spellcheck/cold_mode_spell_check_requester.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/spellcheck/cold_mode_spell_check_requester.h"

#include "third_party/blink/renderer/core/dom/element.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/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/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/editing/visible_units.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/scheduler/idle_deadline.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"

namespace blink {

namespace {

// in UTF16 code units
const int kColdModeFullCheckingChunkSize =;
const int kColdModeLocalCheckingSize =;
const int kRecheckThreshold =;

const int kInvalidChunkIndex =;

int TotalTextLength(const Element& root_editable) {}

}  // namespace

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

ColdModeSpellCheckRequester::ColdModeSpellCheckRequester(LocalDOMWindow& window)
    :{}

bool ColdModeSpellCheckRequester::FullyCheckedCurrentRootEditable() const {}

SpellCheckRequester& ColdModeSpellCheckRequester::GetSpellCheckRequester()
    const {}

const Element* ColdModeSpellCheckRequester::CurrentFocusedEditable() const {}

void ColdModeSpellCheckRequester::Invoke(IdleDeadline* deadline) {}

void ColdModeSpellCheckRequester::RequestFullChecking(
    const Element& element_to_check,
    IdleDeadline* deadline) {}

void ColdModeSpellCheckRequester::ClearProgress() {}

void ColdModeSpellCheckRequester::Deactivate() {}

void ColdModeSpellCheckRequester::SetHasFullyCheckedCurrentRootEditable() {}

bool ColdModeSpellCheckRequester::RequestCheckingForNextChunk() {}

ColdModeSpellCheckRequester::CheckingType
ColdModeSpellCheckRequester::AccumulateTextDeltaAndComputeCheckingType(
    const Element& element_to_check) {}

void ColdModeSpellCheckRequester::RequestLocalChecking(
    const Element& element_to_check) {}

void ColdModeSpellCheckRequester::ElementRemoved(Element* element) {}

}  // namespace blink