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

Issue 2768393003: Use finer-grained checking in cold mode (Closed)

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

Description

Use finer-grained checking in cold mode This patch makes idle time spell checker's cold mode invocation more fine-controlled. Idle time spell checker used to check all chunks of a large editable element in a single invocation, which can introduce a long unresponsive period. This patch allows different chunks to be checked in different invocations, so that the renderer remains responsive. BUG=517298 Review-Url: https://codereview.chromium.org/2768393003 Cr-Commit-Position: refs/heads/master@{#459867} Committed: https://chromium.googlesource.com/chromium/src/+/5bb4473303cbce6262892623936b9a907d1b94c0

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -54 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.h View 2 chunks +15 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp View 4 chunks +98 lines, -51 lines 5 comments Download

Messages

Total messages: 17 (10 generated)
Xiaocheng
How do you like this idea? This patch is not for committing yet as test ...
3 years, 9 months ago (2017-03-24 05:29:13 UTC) #3
yosin_UTC9
For fast layout of text, we're thinking about plain text editor for Text node to ...
3 years, 9 months ago (2017-03-24 06:38:42 UTC) #4
Xiaocheng
For plain text editor, I think we should optimize TextIterator directly instead of optimizing here. ...
3 years, 9 months ago (2017-03-24 21:18:43 UTC) #5
Xiaocheng
I guess I don't really need test cases. This patch is not supposed to introduce ...
3 years, 9 months ago (2017-03-25 00:44:39 UTC) #7
yosin_UTC9
lgtm https://codereview.chromium.org/2768393003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp (right): https://codereview.chromium.org/2768393003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp#newcode133 third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp:133: m_currentFullLength = TextIterator::rangeLength(fullRange.startPosition(), On 2017/03/24 at 21:18:43, Xiaocheng ...
3 years, 9 months ago (2017-03-27 04:44:15 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/2768393003/1
3 years, 9 months ago (2017-03-27 20:33:50 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 20:45:59 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5bb4473303cbce6262892623936b...

Powered by Google App Engine
This is Rietveld 408576698