TextCheckerWin.cpp [plain text]
#include "config.h"
#include "TextChecker.h"
#include "TextCheckerState.h"
#include <WebCore/NotImplemented.h>
namespace WebKit {
using namespace WebCore;
TextCheckerState& checkerState()
{
static TextCheckerState textCheckerState;
return textCheckerState;
}
const TextCheckerState& TextChecker::state()
{
return checkerState();
}
static bool testingModeEnabled = false;
void TextChecker::setTestingMode(bool enabled)
{
testingModeEnabled = enabled;
}
bool TextChecker::isTestingMode()
{
return testingModeEnabled;
}
bool TextChecker::isContinuousSpellCheckingAllowed()
{
return false;
}
void TextChecker::setContinuousSpellCheckingEnabled(bool)
{
}
void TextChecker::setGrammarCheckingEnabled(bool)
{
}
void TextChecker::continuousSpellCheckingEnabledStateChanged(bool)
{
}
void TextChecker::grammarCheckingEnabledStateChanged(bool)
{
}
SpellDocumentTag TextChecker::uniqueSpellDocumentTag(WebPageProxy*)
{
return { };
}
void TextChecker::closeSpellDocumentWithTag(SpellDocumentTag)
{
}
void TextChecker::checkSpellingOfString(SpellDocumentTag, StringView, int32_t&, int32_t&)
{
}
void TextChecker::checkGrammarOfString(SpellDocumentTag, StringView , Vector<WebCore::GrammarDetail>& , int32_t& , int32_t& )
{
}
bool TextChecker::spellingUIIsShowing()
{
return false;
}
void TextChecker::toggleSpellingUIIsShowing()
{
}
void TextChecker::updateSpellingUIWithMisspelledWord(SpellDocumentTag, const String& )
{
}
void TextChecker::updateSpellingUIWithGrammarString(SpellDocumentTag, const String& , const GrammarDetail& )
{
}
void TextChecker::getGuessesForWord(SpellDocumentTag, const String&, const String& , int32_t , Vector<String>&, bool)
{
}
void TextChecker::learnWord(SpellDocumentTag, const String&)
{
}
void TextChecker::ignoreWord(SpellDocumentTag, const String&)
{
}
void TextChecker::requestCheckingOfString(Ref<TextCheckerCompletion>&&, int32_t)
{
}
#if USE(UNIFIED_TEXT_CHECKING)
Vector<TextCheckingResult> TextChecker::checkTextOfParagraph(SpellDocumentTag, StringView, int32_t, OptionSet<TextCheckingType>, bool)
{
return { };
}
#endif
}