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

Issue 2740603003: Hide SpellCheckRequest from other classes in editing/spellcheck (Closed)

Created:
3 years, 9 months ago by Xiaocheng
Modified:
3 years, 9 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide SpellCheckRequest from other classes in editing/spellcheck Currently, all external clients of SpellCheckRequest use it in only one way -- pass it to SpellCheckRequester::requestCheckingFor directly. Hence, this patch makes the clients call the function directly without knowing about details of this class, to reduce exposure of implementation details. BUG=n/a TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2740603003 Cr-Commit-Position: refs/heads/master@{#456240} Committed: https://chromium.googlesource.com/chromium/src/+/659edf80d6784f79ddad9b384391bc11588df846

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp View 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h View 2 chunks +4 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp View 1 chunk +7 lines, -1 line 2 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
Xiaocheng
PTAL.
3 years, 9 months ago (2017-03-08 21:17:01 UTC) #11
yosin_UTC9
lgtm w/ nits https://codereview.chromium.org/2740603003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp (right): https://codereview.chromium.org/2740603003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp#newcode152 third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:152: SpellCheckRequest* request = SpellCheckRequest::create(range, requestNum); nit: ...
3 years, 9 months ago (2017-03-09 01:28:15 UTC) #12
Xiaocheng
Thanks for reviewing https://codereview.chromium.org/2740603003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp (right): https://codereview.chromium.org/2740603003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp#newcode152 third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:152: SpellCheckRequest* request = SpellCheckRequest::create(range, requestNum); On ...
3 years, 9 months ago (2017-03-10 23:13:23 UTC) #14
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/2740603003/1
3 years, 9 months ago (2017-03-10 23:13:41 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 01:07:43 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/659edf80d6784f79ddad9b384391...

Powered by Google App Engine
This is Rietveld 408576698