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

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

Issue 2235643002: Code cleanup related to unified text checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableUnifiedTextCheckerByDefault
Patch Set: Rebased on removal of grammar-checking code 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 3838545a09d92af25619a768ce488c232c1c7c82..bda4e316a10fb04e51013e4644590db36b572d57 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
+++ b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
@@ -88,20 +88,14 @@ public:
TextCheckingHelper(SpellCheckerClient&, const Position& start, const Position& end);
~TextCheckingHelper();
- String findFirstMisspelling(int& firstMisspellingOffset, bool markAll);
String findFirstMisspellingOrBadGrammar(int& outFirstFoundOffset);
- bool markAllMisspellings();
private:
SpellCheckerClient* m_client;
Position m_start;
Position m_end;
-
- bool unifiedTextCheckerEnabled() const;
};
-bool unifiedTextCheckerEnabled(const LocalFrame*);
-
} // namespace blink
#endif // TextCheckingHelper_h

Powered by Google App Engine
This is Rietveld 408576698