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

Unified Diff: Source/core/editing/TextCheckingHelper.h

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 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
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/TextCheckingHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/TextCheckingHelper.h
diff --git a/Source/core/editing/TextCheckingHelper.h b/Source/core/editing/TextCheckingHelper.h
index e3e9734e5a5c58e0f1ff75e6710b51f965a6848d..b38b45bf163579b56d049a1ae1d28fff0962210c 100644
--- a/Source/core/editing/TextCheckingHelper.h
+++ b/Source/core/editing/TextCheckingHelper.h
@@ -57,8 +57,6 @@ public:
int checkingLength() const;
String checkingSubstring() const { return textSubstring(checkingStart(), checkingLength()); }
- bool checkingRangeMatches(int location, int length) const { return location == checkingStart() && length == checkingLength(); }
- bool isCheckingRangeCoveredBy(int location, int length) const { return location <= checkingStart() && location + length >= checkingStart() + checkingLength(); }
bool checkingRangeCovers(int location, int length) const { return location < checkingEnd() && location + length > checkingStart(); }
PassRefPtr<Range> paragraphRange() const;
@@ -90,8 +88,6 @@ public:
void markAllMisspellings(RefPtr<Range>& firstMisspellingRange);
void markAllBadGrammar();
- bool isUngrammatical(Vector<String>& guessesVector) const;
- Vector<String> guessesForMisspelledOrUngrammaticalRange(bool checkGrammar, bool& misspelled, bool& ungrammatical) const;
private:
EditorClient* m_client;
RefPtr<Range> m_range;
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/TextCheckingHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698