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

Issue 2712833004: Stop SpellCheckProvider from deciding typing progress (Closed)

Created:
3 years, 10 months ago by Xiaocheng
Modified:
3 years, 10 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop SpellCheckProvider from deciding typing progress In order not to check spelling in the middle of typing a word, SpellCheckProvider used to decide the typing process, which is a job that it can't reliably accomplish due to lack of information. Now that the Blink-side SpellChecker class is no longer sending spell check requests in the middle of typing a word, there is no need for SpellCheckProvider to perform the check. Hence, this patch removes the related code from SpellCheckProvider, and modifies tests accordingly. BUG=635504 TEST=SpellCheckProviderTest.MultiLineText Review-Url: https://codereview.chromium.org/2712833004 Cr-Commit-Position: refs/heads/master@{#452899} Committed: https://chromium.googlesource.com/chromium/src/+/0fcdf64bf2b57cfc3c21965bd037d198f7fabd4e

Patch Set 1 #

Patch Set 2 : Add comment about partial word #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -42 lines) Patch
M components/spellcheck/renderer/spellcheck_provider.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M components/spellcheck/renderer/spellcheck_provider.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider_hunspell_unittest.cc View 2 chunks +3 lines, -33 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Xiaocheng
PTAL.
3 years, 10 months ago (2017-02-24 01:51:30 UTC) #5
groby-ooo-7-16
LGTM with a small nit - please leave a comment indicating that we'll only be ...
3 years, 10 months ago (2017-02-24 02:05:52 UTC) #6
please use gerrit instead
lgtm
3 years, 10 months ago (2017-02-24 14:43:41 UTC) #9
Xiaocheng
Thanks for the review! Committing with a comment about partial word added.
3 years, 10 months ago (2017-02-24 18:24:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712833004/20001
3 years, 10 months ago (2017-02-24 18:25:10 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 19:19:08 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0fcdf64bf2b57cfc3c21965bd037...

Powered by Google App Engine
This is Rietveld 408576698