Chromium Code Reviews| 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 42334f397791bba1fd2949a9fd1860b89831b0e2..3838545a09d92af25619a768ce488c232c1c7c82 100644 |
| --- a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h |
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h |
| @@ -89,21 +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); |
| + String findFirstMisspellingOrBadGrammar(int& outFirstFoundOffset); |
|
yosin_UTC9
2016/08/12 05:05:22
Optional: Could you add TODO for returning tuple o
|
| 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; |
| }; |
| -void checkTextOfParagraph(TextCheckerClient&, const String&, Vector<TextCheckingResult>&); |
| bool unifiedTextCheckerEnabled(const LocalFrame*); |
| } // namespace blink |