diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 19:15:11 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 19:15:11 +0000 |
commit | 8bd34726877c82747ee946f1dac26d427f0df484 (patch) | |
tree | b51496164639210c5f46a15be80ed4777fe9deab /chrome/common/spellcheck_result.h | |
parent | f4acae87a7d35b7c579b0224f409aeca706b61eb (diff) | |
download | chromium_src-8bd34726877c82747ee946f1dac26d427f0df484.zip chromium_src-8bd34726877c82747ee946f1dac26d427f0df484.tar.gz chromium_src-8bd34726877c82747ee946f1dac26d427f0df484.tar.bz2 |
Remove unused WebTextCheckingType enum references from chrome
On the Blink side, all of these TextCheckingTypes are unused.
But in order to make sure cleaning up that code is safe I have
to ensure that Chromium won't pass in any of those types.
This is part 1 of a 2-sided patch (the other side will be in Blink,
removing the unused WebKit::WebTextCheckingTypes and the associated
WebCore::TextCheckingTypes; yes, this enum has two clones).
R=groby@chromium.org
Review URL: https://codereview.chromium.org/14563003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/spellcheck_result.h')
-rw-r--r-- | chrome/common/spellcheck_result.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/common/spellcheck_result.h b/chrome/common/spellcheck_result.h index ab34410..29b1118 100644 --- a/chrome/common/spellcheck_result.h +++ b/chrome/common/spellcheck_result.h @@ -12,19 +12,12 @@ // possible replacement of the misspelling if it is available. // // Although SpellCheckResult::Type defines various values Chromium -// only uses the |Spelling| type. Other values are just reflecting the -// enum definition in the original WebKit class. +// only uses the |Spelling| and |Grammar| types. // struct SpellCheckResult { enum Type { SPELLING = 1 << 1, GRAMMAR = 1 << 2, - LINK = 1 << 5, - QUOTE = 1 << 6, - DASH = 1 << 7, - REPLACEMENT = 1 << 8, - CORRECTION = 1 << 9, - SHOWCORRECTIONPANEL = 1 << 10 }; explicit SpellCheckResult( |