#include "third_party/blink/renderer/core/editing/suggestion/text_suggestion_backend_impl.h"
#include "third_party/blink/renderer/core/editing/suggestion/text_suggestion_controller.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
namespace blink {
const char TextSuggestionBackendImpl::kSupplementName[] = …;
TextSuggestionBackendImpl* TextSuggestionBackendImpl::From(LocalFrame& frame) { … }
void TextSuggestionBackendImpl::Bind(
LocalFrame* frame,
mojo::PendingReceiver<mojom::blink::TextSuggestionBackend> receiver) { … }
TextSuggestionBackendImpl::TextSuggestionBackendImpl(
base::PassKey<TextSuggestionBackendImpl>,
LocalFrame& frame,
mojo::PendingReceiver<mojom::blink::TextSuggestionBackend> receiver)
: … { … }
void TextSuggestionBackendImpl::Trace(Visitor* visitor) const { … }
void TextSuggestionBackendImpl::ApplySpellCheckSuggestion(
const WTF::String& suggestion) { … }
void TextSuggestionBackendImpl::ApplyTextSuggestion(int32_t marker_tag,
int32_t suggestion_index) { … }
void TextSuggestionBackendImpl::DeleteActiveSuggestionRange() { … }
void TextSuggestionBackendImpl::OnNewWordAddedToDictionary(
const WTF::String& word) { … }
void TextSuggestionBackendImpl::OnSuggestionMenuClosed() { … }
void TextSuggestionBackendImpl::SuggestionMenuTimeoutCallback(
int32_t max_number_of_suggestions) { … }
}