|
|
Created:
4 years, 3 months ago by timvolodine Modified:
4 years, 3 months ago Reviewers:
groby-ooo-7-16 CC:
chromium-reviews, Tobias Sargeant Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Description[Android][Mac] Enable spellcheck caching on Android and Mac platforms.
This patch enables caching of spellcheck results to improve performance
and address issues mentioned below.
In its current state i.e. without caching spellcheck on Android and Mac
has a number of issues e.g.:
- selection (click) of words or movement of the caret can result
in unnecessary calls to the platform spellchecker.
- typing of non-word characters in the end results in unnecessary
calls to the platform spellchecker.
- modifying text does not always result in invocation of spellchecker,
hence not showing the misspelled words.
BUG=583616, 629609
Committed: https://crrev.com/1653062cd62db1cda12c6368929e64d6c8d866a7
Cr-Commit-Position: refs/heads/master@{#418631}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 16 (9 generated)
The CQ bit was checked by timvolodine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [Android][Mac] Enable spellcheck caching on Mac and Android platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modyfying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 ========== to ========== [Android][Mac] Enable spellcheck caching on Android and Mac platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modifying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 ==========
timvolodine@chromium.org changed reviewers: + groby@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... File components/spellcheck/renderer/spellcheck_provider.cc (right): https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... components/spellcheck/renderer/spellcheck_provider.cc:264: last_request_ = line; Did you verify OSX actually returns the original request? Quick glance at the code seems to confirm that, but I've not looked in depth.
https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... File components/spellcheck/renderer/spellcheck_provider.cc (right): https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... components/spellcheck/renderer/spellcheck_provider.cc:264: last_request_ = line; On 2016/09/09 22:41:38, groby wrote: > Did you verify OSX actually returns the original request? Quick glance at the > code seems to confirm that, but I've not looked in depth. Yes, tested this on Mac OS X, it does return the "line" properly, and caching appears to work.
On 2016/09/12 15:31:39, timvolodine wrote: > https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... > File components/spellcheck/renderer/spellcheck_provider.cc (right): > > https://codereview.chromium.org/2317113004/diff/1/components/spellcheck/rende... > components/spellcheck/renderer/spellcheck_provider.cc:264: last_request_ = line; > On 2016/09/09 22:41:38, groby wrote: > > Did you verify OSX actually returns the original request? Quick glance at the > > code seems to confirm that, but I've not looked in depth. > > Yes, tested this on Mac OS X, it does return the "line" properly, and caching > appears to work. Woohoo! LGTM!
The CQ bit was checked by timvolodine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [Android][Mac] Enable spellcheck caching on Android and Mac platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modifying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 ========== to ========== [Android][Mac] Enable spellcheck caching on Android and Mac platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modifying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== [Android][Mac] Enable spellcheck caching on Android and Mac platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modifying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 ========== to ========== [Android][Mac] Enable spellcheck caching on Android and Mac platforms. This patch enables caching of spellcheck results to improve performance and address issues mentioned below. In its current state i.e. without caching spellcheck on Android and Mac has a number of issues e.g.: - selection (click) of words or movement of the caret can result in unnecessary calls to the platform spellchecker. - typing of non-word characters in the end results in unnecessary calls to the platform spellchecker. - modifying text does not always result in invocation of spellchecker, hence not showing the misspelled words. BUG=583616, 629609 Committed: https://crrev.com/1653062cd62db1cda12c6368929e64d6c8d866a7 Cr-Commit-Position: refs/heads/master@{#418631} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/1653062cd62db1cda12c6368929e64d6c8d866a7 Cr-Commit-Position: refs/heads/master@{#418631} |