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

Unified Diff: components/spellcheck/common/spellcheck_result.h

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile 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: components/spellcheck/common/spellcheck_result.h
diff --git a/components/spellcheck/common/spellcheck_result.h b/components/spellcheck/common/spellcheck_result.h
index 61d193b07cabdf1c60203845f4ec128e0ccc9206..0c4fb45eff7752edc88a9b2ba0ea7ca20150a9d7 100644
--- a/components/spellcheck/common/spellcheck_result.h
+++ b/components/spellcheck/common/spellcheck_result.h
@@ -20,24 +20,18 @@ struct SpellCheckResult {
// Gray underline for correctly spelled words that are incorrectly used in
// their context.
GRAMMAR = 1 << 2,
-
- // No underline for words that spellcheck needs to track. For example, a
- // word in the custom spellcheck dictionary.
- INVISIBLE = 1 << 3,
};
explicit SpellCheckResult(Decoration d = SPELLING,
int loc = 0,
int len = 0,
- const base::string16& rep = base::string16(),
- uint32_t h = 0)
- : decoration(d), location(loc), length(len), replacement(rep), hash(h) {}
+ const base::string16& rep = base::string16())
+ : decoration(d), location(loc), length(len), replacement(rep) {}
Decoration decoration;
int location;
int length;
base::string16 replacement;
- uint32_t hash;
};
#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_RESULT_H_
« no previous file with comments | « components/spellcheck/common/spellcheck_messages.h ('k') | components/spellcheck/common/spellcheck_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698