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

Issue 2827903002: Hide cold mode idle time spellchecker behind a flag (Closed)

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

Description

Hide cold mode idle time spellchecker behind a flag This patch adds a new runtime flag IdleTimeColdModeSpellChecking, so that idle time spellchecker enters cold mode only when the flag is enabled --- otherwise it enters the inactive state instead. The unit tests are modified accordingly so that the lifecycle transition without the flag is also tested. The purpose of the new flag is for shipping hot and cold modes of idle time spellchecker separately. BUG=713006 Review-Url: https://codereview.chromium.org/2827903002 Cr-Commit-Position: refs/heads/master@{#465855} Committed: https://chromium.googlesource.com/chromium/src/+/234a68c81bb610d29c3bcabc08dcd4485ee58f06

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -2 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallbackTest.cpp View 10 chunks +41 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 chunk +5 lines, -0 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (12 generated)
Xiaocheng
I realized that the hot and cold modes of idle time spell checker are doing ...
3 years, 8 months ago (2017-04-19 08:42:44 UTC) #7
tkent
lgtm CL description: > so that idle time spellchecker enters code mode only when the ...
3 years, 8 months ago (2017-04-19 08:48:22 UTC) #8
Xiaocheng
On 2017/04/19 at 08:48:22, tkent wrote: > lgtm > > CL description: > > so ...
3 years, 8 months ago (2017-04-19 08:50:58 UTC) #9
yosin_UTC9
lgtm https://codereview.chromium.org/2827903002/diff/1/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 (right): https://codereview.chromium.org/2827903002/diff/1/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode497 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5:497: name: "IdleTimeColdModeSpellChecking", Is it better to have a ...
3 years, 8 months ago (2017-04-20 01:10:45 UTC) #13
Xiaocheng
Thanks for reviewing! https://codereview.chromium.org/2827903002/diff/1/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 (right): https://codereview.chromium.org/2827903002/diff/1/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode497 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5:497: name: "IdleTimeColdModeSpellChecking", On 2017/04/20 at 01:10:45, ...
3 years, 8 months ago (2017-04-20 01:40:09 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/2827903002/1
3 years, 8 months ago (2017-04-20 01:44:17 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 01:49:14 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/234a68c81bb610d29c3bcabc08dc...

Powered by Google App Engine
This is Rietveld 408576698