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

Issue 2635173002: Ensure same invocation order as creation order for SpellCheckRequests (Closed)

Created:
3 years, 11 months ago by Xiaocheng
Modified:
3 years, 11 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

Ensure same invocation order as creation order for SpellCheckRequests This patch makes SpellCheckRequester maintain its request queue in ascending order of sequence, so that request invocation order is always the same as creation order. It eases the testing of idle time spell checker. BUG=681760 Review-Url: https://codereview.chromium.org/2635173002 Cr-Commit-Position: refs/heads/master@{#444283} Committed: https://chromium.googlesource.com/chromium/src/+/f740ee973fc6b34c8788c3e8fb5b6f63e9a3633b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use std::find_if #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck-queue.html View 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp View 1 3 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Xiaocheng
PTAL.
3 years, 11 months ago (2017-01-17 07:47:09 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2635173002/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/2635173002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp#newcode230 third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:230: for (RequestQueue::const_iterator iter = m_requestQueue.begin(); Can we use std::find_if()?
3 years, 11 months ago (2017-01-17 08:20:12 UTC) #5
Xiaocheng
https://codereview.chromium.org/2635173002/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/2635173002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp#newcode230 third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:230: for (RequestQueue::const_iterator iter = m_requestQueue.begin(); On 2017/01/17 at 08:20:12, ...
3 years, 11 months ago (2017-01-17 08:48:18 UTC) #8
Xiaocheng
Ping...
3 years, 11 months ago (2017-01-18 05:20:33 UTC) #11
yosin_UTC9
lgtm
3 years, 11 months ago (2017-01-18 05:29:19 UTC) #13
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/2635173002/20001
3 years, 11 months ago (2017-01-18 05:29:34 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 05:34:08 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f740ee973fc6b34c8788c3e8fb5b...

Powered by Google App Engine
This is Rietveld 408576698