Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h

Issue 2245543003: Removal of grammar-checking-related dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698