diff options
Diffstat (limited to 'Source/WebCore/platform/text/TextChecking.h')
-rw-r--r-- | Source/WebCore/platform/text/TextChecking.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/platform/text/TextChecking.h b/Source/WebCore/platform/text/TextChecking.h index 022fb82..d2040d5 100644 --- a/Source/WebCore/platform/text/TextChecking.h +++ b/Source/WebCore/platform/text/TextChecking.h @@ -42,6 +42,18 @@ namespace WebCore { #define WTF_USE_AUTOMATIC_TEXT_REPLACEMENT 1 #endif +enum TextCheckingType { + TextCheckingTypeSpelling = 1 << 1, + TextCheckingTypeGrammar = 1 << 2, + TextCheckingTypeLink = 1 << 5, + TextCheckingTypeQuote = 1 << 6, + TextCheckingTypeDash = 1 << 7, + TextCheckingTypeReplacement = 1 << 8, + TextCheckingTypeCorrection = 1 << 9 +}; + +typedef unsigned TextCheckingTypeMask; + } #endif // TextChecking_h |