| Index: third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| index 0d85d37ae67038ec798c0ba956f072756e79d735..a7c9a204ab31603c16219323f2d01d87efb89fe6 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| @@ -89,13 +89,17 @@ public:
|
| ~TextCheckingHelper();
|
|
|
| String findFirstMisspelling(int& firstMisspellingOffset, bool markAll);
|
| + String findFirstMisspellingOrBadGrammar(bool& outIsSpelling, int& outFirstFoundOffset, GrammarDetail& outGrammarDetail);
|
| + String findFirstBadGrammar(GrammarDetail& outGrammarDetail, int& outGrammarPhraseOffset, bool markAll);
|
| bool markAllMisspellings();
|
| + void markAllBadGrammar();
|
|
|
| private:
|
| SpellCheckerClient* m_client;
|
| Position m_start;
|
| Position m_end;
|
|
|
| + int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const;
|
| bool unifiedTextCheckerEnabled() const;
|
| };
|
|
|
|
|