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

Issue 2720193002: Implement hot mode invocation for idle time spell checker (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

Implement hot mode invocation for idle time spell checker This patch implements IdleSpellCheckCallback::hotModeInvocation and its helper functions. BUG=517298 TEST=existing layout tests in editing/spelling Review-Url: https://codereview.chromium.org/2720193002 Cr-Commit-Position: refs/heads/master@{#455248} Committed: https://chromium.googlesource.com/chromium/src/+/f3f30ff20c869bcff019e748dce273d3e2f29316

Patch Set 1 #

Patch Set 2 : Wed Mar 1 16:02:57 PST 2017 #

Total comments: 20

Patch Set 3 : Wed Mar 1 20:52:55 PST 2017 #

Patch Set 4 : Thu Mar 2 16:35:42 PST 2017 #

Total comments: 10

Patch Set 5 : Thu Mar 2 22:22:47 PST 2017 #

Total comments: 4

Patch Set 6 : Fri Mar 3 16:05:41 PST 2017 #

Patch Set 7 : Mon Mar 6 12:22:30 PST 2017 #

Patch Set 8 : Mon Mar 6 12:22:30 PST 2017 #

Total comments: 4

Patch Set 9 : style fix #

Messages

Total messages: 58 (32 generated)
Xiaocheng
PTAL.
3 years, 9 months ago (2017-03-02 02:38:48 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/Editor.h File third_party/WebKit/Source/core/editing/Editor.h (right): https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/Editor.h#newcode201 third_party/WebKit/Source/core/editing/Editor.h:201: UndoStack& undoStack() const { return *m_undoStack; } This should ...
3 years, 9 months ago (2017-03-02 03:38:41 UTC) #9
Xiaocheng
Thanks for reviewing. https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/Editor.h File third_party/WebKit/Source/core/editing/Editor.h (right): https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/Editor.h#newcode201 third_party/WebKit/Source/core/editing/Editor.h:201: UndoStack& undoStack() const { return *m_undoStack; ...
3 years, 9 months ago (2017-03-02 04:34:59 UTC) #10
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode247 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:247: for (auto iter = undoSteps.rbegin(); iter != undoSteps.rend(); ++iter) ...
3 years, 9 months ago (2017-03-02 04:41:48 UTC) #11
Xiaocheng
https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode247 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:247: for (auto iter = undoSteps.rbegin(); iter != undoSteps.rend(); ++iter) ...
3 years, 9 months ago (2017-03-02 04:57:53 UTC) #14
yosin_UTC9
On 2017/03/02 at 04:57:53, xiaochengh wrote: > https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp > File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): > > https://codereview.chromium.org/2720193002/diff/20001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode247 ...
3 years, 9 months ago (2017-03-02 05:18:52 UTC) #17
Xiaocheng
This one is also updated. PTAL?
3 years, 9 months ago (2017-03-03 05:22:23 UTC) #22
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/60001/third_party/WebKit/Source/core/editing/Editor.h File third_party/WebKit/Source/core/editing/Editor.h (right): https://codereview.chromium.org/2720193002/diff/60001/third_party/WebKit/Source/core/editing/Editor.h#newcode202 third_party/WebKit/Source/core/editing/Editor.h:202: UndoStack& undoStack() const { return *m_undoStack; } Could you ...
3 years, 9 months ago (2017-03-03 05:34:23 UTC) #23
Xiaocheng
Updated. PTAL. https://codereview.chromium.org/2720193002/diff/60001/third_party/WebKit/Source/core/editing/Editor.h File third_party/WebKit/Source/core/editing/Editor.h (right): https://codereview.chromium.org/2720193002/diff/60001/third_party/WebKit/Source/core/editing/Editor.h#newcode202 third_party/WebKit/Source/core/editing/Editor.h:202: UndoStack& undoStack() const { return *m_undoStack; } ...
3 years, 9 months ago (2017-03-03 06:28:28 UTC) #24
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode208 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:208: HeapVector<Member<Element>>* processedRootEditables) { Let's use HeapHashSet<Member<Element>> I prefer to ...
3 years, 9 months ago (2017-03-03 08:55:18 UTC) #25
Xiaocheng
https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode208 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:208: HeapVector<Member<Element>>* processedRootEditables) { On 2017/03/03 at 08:55:18, yosin_UTC9 wrote: ...
3 years, 9 months ago (2017-03-03 14:31:52 UTC) #26
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode208 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:208: HeapVector<Member<Element>>* processedRootEditables) { On 2017/03/03 at 14:31:52, Xiaocheng wrote: ...
3 years, 9 months ago (2017-03-06 04:17:31 UTC) #31
yosin_UTC9
https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode208 third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp:208: HeapVector<Member<Element>>* processedRootEditables) { On 2017/03/06 at 04:17:31, yosin_UTC9 wrote: ...
3 years, 9 months ago (2017-03-06 04:39:15 UTC) #32
Xiaocheng
On 2017/03/06 at 04:39:15, yosin wrote: > https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp > File third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp (right): > > https://codereview.chromium.org/2720193002/diff/80001/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp#newcode208 ...
3 years, 9 months ago (2017-03-06 06:39:36 UTC) #33
yosin_UTC9
On 2017/03/06 at 06:39:36, xiaochengh wrote: > On 2017/03/06 at 04:39:15, yosin wrote: > > ...
3 years, 9 months ago (2017-03-06 06:46:52 UTC) #34
Xiaocheng
On 2017/03/06 at 06:46:52, yosin wrote: > On 2017/03/06 at 06:39:36, xiaochengh wrote: > > ...
3 years, 9 months ago (2017-03-06 06:56:39 UTC) #35
yosin_UTC9
On 2017/03/06 at 06:56:39, xiaochengh wrote: > On 2017/03/06 at 06:46:52, yosin wrote: > > ...
3 years, 9 months ago (2017-03-06 08:20:35 UTC) #36
Xiaocheng
On 2017/03/06 at 08:20:35, yosin wrote: > On 2017/03/06 at 06:56:39, xiaochengh wrote: > > ...
3 years, 9 months ago (2017-03-06 23:16:47 UTC) #39
yosin_UTC9
lgtm https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp (right): https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp#newcode84 third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp:84: } nit: s"}"} // namespace" https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.h File third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.h ...
3 years, 9 months ago (2017-03-07 01:30:31 UTC) #42
Xiaocheng
Thanks for reviewing! https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp (right): https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp#newcode84 third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp:84: } On 2017/03/07 at 01:30:31, yosin_UTC9 ...
3 years, 9 months ago (2017-03-07 01:37:19 UTC) #45
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/2720193002/160001
3 years, 9 months ago (2017-03-07 01:38:50 UTC) #49
yosin_UTC9
On 2017/03/07 at 01:37:19, xiaochengh wrote: > Thanks for reviewing! > > https://codereview.chromium.org/2720193002/diff/140001/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp > File ...
3 years, 9 months ago (2017-03-07 02:23:14 UTC) #50
Xiaocheng
On 2017/03/07 at 02:23:14, yosin wrote: > On 2017/03/07 at 01:37:19, xiaochengh wrote: > > ...
3 years, 9 months ago (2017-03-07 03:26:21 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/378981)
3 years, 9 months ago (2017-03-07 04:35:33 UTC) #53
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/2720193002/160001
3 years, 9 months ago (2017-03-07 16:52:11 UTC) #55
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 22:19:51 UTC) #58
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/f3f30ff20c869bcff019e748dce2...

Powered by Google App Engine
This is Rietveld 408576698