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

Issue 2246053003: Merge TextCheckingHelper into SpellChecker Part 1 (Closed)

Created:
4 years, 4 months ago by Xiaocheng
Modified:
4 years, 4 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@SpellCheckerDebugInfo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge TextCheckingHelper into SpellChecker Part 1 Class TextCheckingHelper should be eliminated and merged into SpellChecker because it is only used by SpellChecker::advanceToNextMisspelling() and does not implement complicated logic. This patch removes the class and changes its member functions into members of SpellChecker. Followup patches will move the functions to SpellChecker.cpp and cleanup the code. BUG=619452 TEST=n/a; no behavior change Committed: https://crrev.com/94e34bbf30308de2f40faedccb857766835c6ab2 Cr-Commit-Position: refs/heads/master@{#412200}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -39 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h View 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp View 1 8 chunks +14 lines, -22 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (7 generated)
Xiaocheng
PTAL?
4 years, 4 months ago (2016-08-16 08:18:20 UTC) #5
yosin_UTC9
lgtm w/ nit Don't forget to have TODO for moving. https://codereview.chromium.org/2246053003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp File third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp (right): https://codereview.chromium.org/2246053003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp#newcode45 ...
4 years, 4 months ago (2016-08-16 08:30:33 UTC) #6
Xiaocheng
https://codereview.chromium.org/2246053003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp File third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp (right): https://codereview.chromium.org/2246053003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp#newcode45 third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp:45: void SpellChecker::findMisspellings(const String& text, Vector<TextCheckingResult>& results) On 2016/08/16 at ...
4 years, 4 months ago (2016-08-16 08:32:25 UTC) #8
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/2246053003/20001
4 years, 4 months ago (2016-08-16 08:32:38 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 09:46:14 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 09:47:51 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/94e34bbf30308de2f40faedccb857766835c6ab2
Cr-Commit-Position: refs/heads/master@{#412200}

Powered by Google App Engine
This is Rietveld 408576698