diff options
Diffstat (limited to 'Source/WebCore/platform/text/TextCheckerClient.h')
-rw-r--r-- | Source/WebCore/platform/text/TextCheckerClient.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/text/TextCheckerClient.h b/Source/WebCore/platform/text/TextCheckerClient.h index acaa02c..8abbed4 100644 --- a/Source/WebCore/platform/text/TextCheckerClient.h +++ b/Source/WebCore/platform/text/TextCheckerClient.h @@ -28,6 +28,8 @@ #ifndef TextCheckerClient_h #define TextCheckerClient_h +#include "TextChecking.h" + #include <wtf/Forward.h> #include <wtf/Vector.h> #include <wtf/text/WTFString.h> @@ -70,7 +72,7 @@ public: virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength) = 0; virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) = 0; virtual void checkGrammarOfString(const UChar*, int length, Vector<GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength) = 0; -#if PLATFORM(MAC) && !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) +#if USE(UNIFIED_TEXT_CHECKING) virtual void checkTextOfParagraph(const UChar* text, int length, uint64_t checkingTypes, Vector<TextCheckingResult>& results) = 0; #endif |