summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/TextChecker.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/TextChecker.h')
-rw-r--r--Source/WebKit2/UIProcess/TextChecker.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/TextChecker.h b/Source/WebKit2/UIProcess/TextChecker.h
index 49b5a48c3..bd08d354d 100644
--- a/Source/WebKit2/UIProcess/TextChecker.h
+++ b/Source/WebKit2/UIProcess/TextChecker.h
@@ -26,6 +26,7 @@
#ifndef TextChecker_h
#define TextChecker_h
+#include "TextCheckerCompletion.h"
#include <WebCore/EditorClient.h>
#include <WebCore/TextCheckerClient.h>
@@ -49,6 +50,11 @@ public:
static void setAutomaticLinkDetectionEnabled(bool);
static void setAutomaticTextReplacementEnabled(bool);
+ static void didChangeAutomaticTextReplacementEnabled();
+ static void didChangeAutomaticSpellingCorrectionEnabled();
+ static void didChangeAutomaticQuoteSubstitutionEnabled();
+ static void didChangeAutomaticDashSubstitutionEnabled();
+
static bool isSmartInsertDeleteEnabled();
static void setSmartInsertDeleteEnabled(bool);
@@ -72,6 +78,7 @@ public:
static void getGuessesForWord(int64_t spellDocumentTag, const String& word, const String& context, Vector<String>& guesses);
static void learnWord(int64_t spellDocumentTag, const String& word);
static void ignoreWord(int64_t spellDocumentTag, const String& word);
+ static void requestCheckingOfString(PassRefPtr<TextCheckerCompletion>);
};
} // namespace WebKit