TextCheckerWin.cpp [plain text]
#include "config.h"
#include "TextChecker.h"
#include "TextCheckerState.h"
#include <WebCore/NotImplemented.h>
using namespace WebCore;
namespace WebKit {
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)
{
}
int64_t TextChecker::uniqueSpellDocumentTag(WebPageProxy*)
{
return 0;
}
void TextChecker::closeSpellDocumentWithTag(int64_t)
{
}
void TextChecker::checkSpellingOfString(int64_t , StringView, int32_t&, int32_t&)
{
}
void TextChecker::checkGrammarOfString(int64_t , StringView , Vector<WebCore::GrammarDetail>& , int32_t& , int32_t& )
{
}
bool TextChecker::spellingUIIsShowing()
{
return false;
}
void TextChecker::toggleSpellingUIIsShowing()
{
}
void TextChecker::updateSpellingUIWithMisspelledWord(int64_t , const String& )
{
}
void TextChecker::updateSpellingUIWithGrammarString(int64_t , const String& , const GrammarDetail& )
{
}
void TextChecker::getGuessesForWord(int64_t , const String&, const String& , int32_t , Vector<String>&, bool)
{
}
void TextChecker::learnWord(int64_t , const String&)
{
}
void TextChecker::ignoreWord(int64_t , const String&)
{
}
void TextChecker::requestCheckingOfString(Ref<TextCheckerCompletion>&&, int32_t)
{
}
#if USE(UNIFIED_TEXT_CHECKING)
Vector<TextCheckingResult> TextChecker::checkTextOfParagraph(int64_t, StringView, int32_t, uint64_t, bool)
{
return Vector<TextCheckingResult>();
}
#endif // USE(UNIFIED_TEXT_CHECKING)
}