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

Issue 1269343005: Updates SpellcheckWordIterator::GetNextWord to return an enum. (Closed)

Created:
5 years, 4 months ago by Julius
Modified:
4 years, 11 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spellwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@break-iter
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updates SpellcheckWordIterator::GetNextWord to return an enum. GetNextWord should return an enum so we can determine if the iterator has found chracters that the spellchecker can skip over. BUG=5102 Committed: https://crrev.com/4f336a6bca18d7a71660d79e7a56d018d74dabaf Cr-Commit-Position: refs/heads/master@{#343145}

Patch Set 1 : #

Patch Set 2 : Updates comments and preserves functionality in tests. #

Total comments: 20

Patch Set 3 : Cleaned up comments and loops. #

Total comments: 6

Patch Set 4 : Addressed comments. #

Total comments: 6

Patch Set 5 : Addressed comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -37 lines) Patch
M chrome/renderer/spellchecker/spellcheck_language.cc View 1 2 2 chunks +16 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_worditerator.h View 1 2 2 chunks +33 lines, -11 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_worditerator.cc View 1 2 3 4 4 chunks +30 lines, -15 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc View 1 2 3 4 5 chunks +43 lines, -9 lines 2 comments Download

Messages

Total messages: 28 (13 generated)
Julius
Rouslan, PTAL at Patch Set #2.
5 years, 4 months ago (2015-08-11 22:32:07 UTC) #6
please use gerrit instead
fyi, the tests will fail, because the bots don't know to apply http://crrev.com/1272683002 before this ...
5 years, 4 months ago (2015-08-11 22:33:22 UTC) #7
please use gerrit instead
Looking nice. https://codereview.chromium.org/1269343005/diff/100001/chrome/renderer/spellchecker/spellcheck_language.cc File chrome/renderer/spellchecker/spellcheck_language.cc (right): https://codereview.chromium.org/1269343005/diff/100001/chrome/renderer/spellchecker/spellcheck_language.cc#newcode72 chrome/renderer/spellchecker/spellcheck_language.cc:72: while (status != SpellcheckWordIterator::IS_END_OF_TEXT) { Is this ...
5 years, 4 months ago (2015-08-11 22:54:11 UTC) #8
please use gerrit instead
http://i.imgur.com/lqKlotB.png
5 years, 4 months ago (2015-08-11 22:55:45 UTC) #9
Julius
Rouslan, PTAL at Patch Set #3. https://codereview.chromium.org/1269343005/diff/100001/chrome/renderer/spellchecker/spellcheck_language.cc File chrome/renderer/spellchecker/spellcheck_language.cc (right): https://codereview.chromium.org/1269343005/diff/100001/chrome/renderer/spellchecker/spellcheck_language.cc#newcode72 chrome/renderer/spellchecker/spellcheck_language.cc:72: while (status != ...
5 years, 4 months ago (2015-08-12 20:25:59 UTC) #13
please use gerrit instead
Looking good! Minor nits. https://codereview.chromium.org/1269343005/diff/180001/chrome/renderer/spellchecker/spellcheck_worditerator.cc File chrome/renderer/spellchecker/spellcheck_worditerator.cc (right): https://codereview.chromium.org/1269343005/diff/180001/chrome/renderer/spellchecker/spellcheck_worditerator.cc#newcode385 chrome/renderer/spellchecker/spellcheck_worditerator.cc:385: if (break_status == BreakIterator::IS_WORD_BREAK) { ...
5 years, 4 months ago (2015-08-12 21:01:09 UTC) #14
Julius
Rouslan, PTAL at Patch Set #4. https://codereview.chromium.org/1269343005/diff/180001/chrome/renderer/spellchecker/spellcheck_worditerator.cc File chrome/renderer/spellchecker/spellcheck_worditerator.cc (right): https://codereview.chromium.org/1269343005/diff/180001/chrome/renderer/spellchecker/spellcheck_worditerator.cc#newcode385 chrome/renderer/spellchecker/spellcheck_worditerator.cc:385: if (break_status == ...
5 years, 4 months ago (2015-08-12 23:42:28 UTC) #16
please use gerrit instead
lgtm % nits https://codereview.chromium.org/1269343005/diff/220001/chrome/renderer/spellchecker/spellcheck_worditerator.cc File chrome/renderer/spellchecker/spellcheck_worditerator.cc (right): https://codereview.chromium.org/1269343005/diff/220001/chrome/renderer/spellchecker/spellcheck_worditerator.cc#newcode383 chrome/renderer/spellchecker/spellcheck_worditerator.cc:383: BreakIterator::WordBreakStatus break_status = inline this variable. ...
5 years, 4 months ago (2015-08-13 00:13:28 UTC) #17
Julius
Fixed final nits and submitting the patch. https://codereview.chromium.org/1269343005/diff/220001/chrome/renderer/spellchecker/spellcheck_worditerator.cc File chrome/renderer/spellchecker/spellcheck_worditerator.cc (right): https://codereview.chromium.org/1269343005/diff/220001/chrome/renderer/spellchecker/spellcheck_worditerator.cc#newcode383 chrome/renderer/spellchecker/spellcheck_worditerator.cc:383: BreakIterator::WordBreakStatus break_status ...
5 years, 4 months ago (2015-08-13 01:32:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269343005/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269343005/240001
5 years, 4 months ago (2015-08-13 01:32:22 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:240001)
5 years, 4 months ago (2015-08-13 01:36:52 UTC) #22
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/4f336a6bca18d7a71660d79e7a56d018d74dabaf Cr-Commit-Position: refs/heads/master@{#343145}
5 years, 4 months ago (2015-08-13 01:37:31 UTC) #23
Nico
https://codereview.chromium.org/1269343005/diff/240001/chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc File chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc (right): https://codereview.chromium.org/1269343005/diff/240001/chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc#newcode311 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc:311: iterator.GetNextWord(&actual_word, &actual_start, &actual_end)) { You forgot to assign to ...
4 years, 11 months ago (2016-01-05 22:13:23 UTC) #25
groby-ooo-7-16
https://codereview.chromium.org/1269343005/diff/240001/chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc File chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc (right): https://codereview.chromium.org/1269343005/diff/240001/chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc#newcode311 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc:311: iterator.GetNextWord(&actual_word, &actual_start, &actual_end)) { On 2016/01/05 22:13:23, Nico wrote: ...
4 years, 11 months ago (2016-01-05 22:36:11 UTC) #27
groby-ooo-7-16
4 years, 11 months ago (2016-01-05 23:41:14 UTC) #28
Message was sent while issue was closed.
Update: Fix at https://codereview.chromium.org/1561813002/

Powered by Google App Engine
This is Rietveld 408576698